It displays what the data type of a variable is. It does more than Vartype does though it will instead of an integer and a float being displayed as "N" in vartype it distingushes been the two.
The distinction between numeric (float) and integer is only really relevant for fields in a table. Once you have copied the value into a variable, they are just numeric. Similarly with chars, varchars and varchars (binary).
So it doesn't really make sense in VFP to have the function you suggested. If you want to know the data type of a field in a table, you can get that with AFIELDS().
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.