Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array - Adding lines
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00581261
Message ID:
00581277
Views:
14
Hi Rodolfo,

Dimension MyArray[2,3]
MyArray[1,1] = "a"
MyArray[1,2] = 2
MyArray[1,3] = .t.
MyArray[2,1] = "b"
MyArray[2,2] = "c"
MyArray[2,3] = 3

You can't assign values to the whole array with a single command (this is possible with clipper though).

Alex

>Hi,
>
>I'd like to create a new array called MyArray[2,3] and then, adding values like this:
>
>Declare MyArray[2,3]
>MyArray = "a", 2, .T., "b", "c", 3
>
>Is it possible? Any user function?
>
>[]'s
>
>Rodolfo Duarte
>Ribeirao Preto / SP / Brazil
Low-carb diet not working? Try the Low-food diet instead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform