Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How tell if its an Array?
Message
From
08/07/2002 05:45:13
Juzar Malubhoy
Consindia Pvt. Ltd.
Mumbai, India
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00675762
Message ID:
00676031
Views:
17
I agree with Sergey. In fact we have a function called IsArray that we use in our app:

function IsArray
lparameter ArrToChk
return TYPE( 'ALEN( ArrToChk )' ) = 'N'

While calling the function, pass the parameter by reference. So the call would be something like
if IsArray( @SomeVarName )
....
Juzar Malubhoy
Project Manager
Consindia Pvt Ltd.
Bombay, India.
Previous
Reply
Map
View

Click here to load this message in the networking platform