Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array question
Message
From
08/03/2004 17:06:51
 
 
To
08/03/2004 15:27:59
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00884232
Message ID:
00884251
Views:
8
This message has been marked as a message which has helped to the initial question of the thread.
Yes, this is normal behavior. Try this:
DIMENSION aTest[4, 2]
aTest[1, 1] = "R1, C1"
aTest[1, 2] = "R1, C2" 
aTest[2, 1] = "R2, C1"
aTest[2, 2] = "R2, C2"
aTest[3, 1] = "R3, C1"
aTest[3, 2] = "R3, C2"
aTest[4, 1] = "R4, C1"
aTest[4, 1] = "R4, C2"
? aTest[5]
>Hi all,
>
>Is this normal behavior for arrays in VFP8? Is there a setting I missed here?
>
>
>dimension aTest[4]
>aTest[1]="Arrays"
>aTest[2]="are not"
>aTest[3]="so good"
>aTest[4]="anymore"
>
>?aTest[4,2]         && "are not", isn't this an error???
>?type('aTest[1,3]') && "C", shouldn't this be "U"
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform