Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is myArray an array?
Message
 
To
17/06/2003 11:57:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00800787
Message ID:
00800911
Views:
24
>>Is there any way to find out if myArray is an array? I guess I am looking for a function kind of like type() is for other data types.
>>
>>TIA
>>Einar
>
>Einar,
>Only reliable way is to test with an array function like alen() as Sergey pointed out. Otherwise it might not be an array while returning a type other than 'U'.
>Cetin
Cetin,
I also thought Sergey's method was more roboust so I have ended up using that method for testing for an array. Chuck's solution would also work but it is better to be safe than sorry.

Einar
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform