Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is parameter an array?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00865548
Message ID:
00865554
Views:
18
Thanks Selim,
I was trying with vartype, which was throwing an error. Have a good day!
jfh

>try this
>
>
>
>DIMENSION testarray2[2]
>DIMENSION testarray[2]
>testarray[1] = "dummy value"
>testarray[2] = "dummy value"
>?IsArray(@testarray2)
>?IsArray(@testarray)
>lcString = "just a string"
>?IsArray(@lcString)
>lnNumber = 1
>?IsArray(@lnNumber)
>
>
>FUNCTION IsArray
>LPARAMETERS taArray
>RETURN TYPE("taArray[1]") # "U"
>
>
Previous
Reply
Map
View

Click here to load this message in the networking platform