Author: Dave Crozier
Posted: 2012-07-12 at 03:49:30
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: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On Behalf Of Allen Pollard
Sent: 12 July 2012 09:28
To: profox@leafe.com
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: ProFox@leafe.com
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/BD031ECABF2B60499200AAB3DBB4A999F122F0CE@EX-A-FPL.FPL.LOCAL
** 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.