Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is myArray an array?
Message
From
17/06/2003 10:45:33
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00800787
Message ID:
00800803
Views:
28
>>>>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
>>>
>>>
>>>Type('myarrary[1]') <> "U"
>>>
>>>That will tell you if you have an array.
>>
>>Thanks for the reply Chuck. The answer was the type() function I just had to use it right ;)
>>
>>Einar
>
>The more generic way, that works for object properties also
TYPE("ALEN(myarrary)") = "N"
What do you mean by also works for object properties?
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform