I was not so much reporting a bug as a warning for others changing code to
vartype. I can live with it as long as I know. But I do wonder why vartype
was even invented when type worked as expected. Though thinking about it as
you mentioned it is looking at variables not objects. It does seem to fail
on type "U" returns.
Al

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Richard Kaye
Sent: 13 October 2009 18:36
To: [email protected]
Subject: RE: Vartype

I think what happens is VFP interprets formname.tag as a table or cursor
reference if the form object doesn't exist. If I try ?VARTYPE(formname.tag),
the error returned is alias not found. IAC, it has behaved consistently for
me in 9 as far as returning O for a form that exists or U or X for one that
does not or is NULL. ymmv.



_______________________________________________
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/001801ca4ca1$9c4f5190$d4edf4...@com
** 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