Click or drag to resize

IsSymbol Function

Determine if a value is a symbol.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.07
Syntax
 FUNCTION IsSymbol(
	uValue AS USUAL
) AS LOGIC
View Source

Parameters

uValue
Type: Usual
The value to examine.

Return Value

Type: Boolean
TRUE if the value is a symbol; otherwise, FALSE.
Remarks
Examples
This example uses IsSymbol() to check whether a variable contains a symbol:
X#
IF IsSymbol(uValue) .AND.;
uValue != NULL_SYMBOL
        ? "Symbol is" + Symbol2String(uValue)
ENDIF
See Also