Click or drag to resize

Functions.VarGetSym Method

Return the contents of a field or a memory variable.

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

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