Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - ch_vartype( <cname> ) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CH_VARTYPE( <cName> ) 


Parameters

<cName>
Variable name.


Returns

Code     Meaning
A        Array
C        Character
N        Numeric
D        Date
L        Logical
M        Memo
U        Undefined type*

*If the the name does not exist as a memory variable--for instance, if 
it is a DBF field rather than a memory variable-- then CH_VARTYPE() 
will return "U".


Description

CH_VARTYPE() functions similarly to the TYPE() function, but it does 
not invoke the macro processor. However, unlike TYPE(), which can 
evaluate expressions, CH_VARTYPE() can evaluate memory variables only.


Example

cDataType = CH_VARTYPE('item')





Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson