Or you could use 

Type("aLen(vVar)")

which will return "N" if vVar is an array and "U" if it isn't

Dave


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Allen Pollard
Sent: 12 July 2012 09:28
To: [email protected]
Subject: test for array

Hi Foxgang
I have needed to test to see if a var is an array or not. Now I assume Foxpro 
knows else the error is not an array would not pop up. But is there an isArray 
type command to avoid is not an array errors? I don't think there is but how do 
you guys handle this other than try catch.
Al


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to