Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Easy way to store values to array elements
Message
 
 
To
21/03/2009 20:51:36
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01390324
Message ID:
01390325
Views:
81
>Hi all.
>I have a fixed idea that exist an 'easy' way to store values to the
>various elements of an array instead of creating many lines
>referring the index of row,col. I don't know if this come from CLIPPER
>time or if exist in FoxPro/VFPRO. So please elucidate me.
>The idea hammering my head is that you can store values in this way
>(or something similar):
>
>&& Creating a two dimensional array with 3 rows and storing strings to the elements
>myArray = {{'Value 1','Value 2'}, {'Value 3', 'Value 4'}, {'Value 5','Value 6'}}
>
I don't think we have this syntax in VFP. It's C++/C#, VB syntax.

See Declaring arrays in C#
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform