Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple tests in an if
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00470871
Message ID:
00470906
Views:
33
>this is probably a stupid question, but how do you insert elements into an array. i know in C it is just anArray[0] = 122
>anArray[1] = 124 and so on, but how is it done in FoxPro?
>does the indexing start at 0?
>thanks,
>Ryan

Arrays in VFP always start at index 1, so it's anArray[1] = 122, anArray[2] = 124, etc...
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform