Function DataType() Foundation
Determines the data type of a value or an expression as a numeric value.
DataType( <xValue> ; // Type: Any
) --> nDatatype
Returns a numeric value that corresponds to a #define constant found in XBTMISC.CH
Constant | Description |
---|---|
TYPE_UNDEF | Undefined (NIL) |
TYPE_STR | String |
TYPE_NUM | Numeric |
TYPE_LOG | Logic |
TYPE_DATE | Date |
TYPE_MEMO | Memo |
TYPE_ARRAY | Array |
TYPE_OBJECT | Object |
TYPE_BLOCK | Code block |
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.