Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is a parameter an array?
Message
 
 
To
12/11/2003 07:31:07
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00848944
Message ID:
00849074
Views:
26
>Sorry, in what case would the type("MyArray(1)") not work?
>
>>Beware though. It doesn't ascertain that it's an array, it might be an array. The only way to assure that it's an array is to have something with a function that operates on arrays AFAIK. ie:

Hilmar,
When its a valid function call. Ex.
? type("sqrt(4)")   && yields N
sqrt() is not an array.

Regards.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform