Click or drag to resize

VarGetSym Function

Return the contents of a field or a memory variable.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION VarGetSym(
	symVar AS SYMBOL
) AS USUAL

Parameters

symVar
Type: SYMBOL
The name of the variable .

Return Value

Type: USUAL
The value of the field or memory variable. When there is no field and also no memory variable then a runtime error is thrown.
Remarks
This function is used instead of a macro when the name of the field or memory variable is in a string.
See Also