Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine Array parameter is 1 or 2 Dimension?
Message
From
11/03/1998 23:47:31
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00084064
Message ID:
00084080
Views:
29
Nope. type("MyArray[1,1]") is always the same as type("MyArray[1]"). In VFP you can use an array declared 1D as 2D.

Vlad

>I think you can also do:
>If type("MyArray[1,1]") <> "U"
>  * 2-D array
>Else
>  * 1-D array
>Endif
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform