Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does an array exist??
Message
From
23/11/1999 17:23:12
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00294594
Message ID:
00294673
Views:
19
>Hello All:
>i need to verify if an array exists.
>I can use ?type('myaray(1)') <> 'U' but is there another command that might be a little more flexible??
>
>Thanks
Sandy,

You have the best approach I can see. Also, remember that any array *MUST* have a length of at leaast 1. So, if the VARTYPE <> "U" then the length alen(TheArray,1) MUST be at least 1.

Best,

DD
Best,


DD

A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform