Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Initializing an array
Message
From
28/07/2014 10:41:47
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01604783
Message ID:
01604819
Views:
69
>>Hi All:
>>
>>What is the syntax for initializing an array without having to do a loop. Say I want to initialize an array with letters of the alphabet.
>>
>>Something like:
>>
>>
>>myArray = ('A', 'B', 'C'....)
>>
>>
>>Thanks,
>>
>>Yossi
>
>lcString = 'A,B,C,D'
>
>ALINES(@laArray, lcString, ',')
Naomi, Sergey, Tamar,

1. My VFP doesn't like the '@'. It works well without this.
2. How can I initialize a 2 dimensional array?

Thanks,

Yossi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform