Click or drag to resize

Type Function

Determine the data type of an expression represented as a string.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION Type(
	cExpression AS STRING
) AS STRING

Parameters

cExpression
Type: String
A string that contains an expression whose type is to be determined. It cannot contain undeclared variables or functions that are not intended for used with macros If cExpression does not exist, "U" is returned.

Return Value

Type: String
One of the following characters:
ReturnsMeaning
AArray
BBlock
CString
DDate
LLogical
MMemo
NNumeric
OObject
UNIL, local, or static
UEError syntactical
UIError indeterminate
See Also