[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
+---------------------------------+
| TYPE() |
+---------------------------------+
TYPE(<expC>)
-----------------------------------
Returns one character describing the data type of an expression.
Return value - Character
-----------------------------------
<expC>
Character expression. Its contents are evaluated and the appropriate
data type is returned. Note that variable names must be surrounded by
quotation marks. (e.g., if "fred" is a numeric variable, TYPE("FRED")
returns "N").
<expC> Character Returned
------ -------------------
Character string C
Numeric (also float) N
Date D
Logical L
Memo M
Undefined type U
+---------------------------------+
| Example |
+---------------------------------+
USE customer
? TYPE('customer.contact')
? TYPE('(12 * 3) + 4')
? TYPE('DATE()')
? TYPE('.F. OR .T.')
? TYPE('customer.comments')
? TYPE('ANSWER=42')
-----------------------------------
See Also: EVALUATE(), . TYPE() and EVALUATE()
-----------------------------------
See Also:
EVALUATE()
EVALUATE()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson