Erik,
Look at the TYPE() function. It returns the type of variable you pass it.
For example:
If you wanted to check to see if a variable was logical you would have the
following syntax...
STORE .F. TO lTest
IF TYPE(lTest)='L'
? 'Variable is logical'
ELSE
? 'Variable is something else'
ENDIF
The FoxPro helkp file should give all the details on the different types
returned.
HTH,
Garritt
******************************************************************
Garritt Grandberg, Programmer/Analyst
Visionary Systems, Ltd
Des Moines, IA
E-Mail: Garritt@visionary.com
http://www.visionary.com
******************************************************************