Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How determine if variable is an array
Message
From
21/07/2000 10:20:43
 
 
To
21/07/2000 10:13:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00395400
Message ID:
00395405
Views:
8
TYPE("myVar[1]") will return "U" if myVar is not an array.


>I could use an ISARRAY() function right now.
>
>Does anyone know of a way to determine programatically if a variable is an array or not?
>
>I know I could use an array function like ALEN() along with an error trapping routine, but I'm hoping for something better.
>
>TIA,
>
>Anthony
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform