Click or drag to resize

Functions.MemVarGetSym Method

Return the contents of a memory variable.

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

Parameters

symVar
Type: __Symbol
The name of the variable .

Return Value

Type: __Usual
The value of the memory variable. When there is no memory variable with that name then a runtime error is thrown.
Remarks
Tip Tip
Dynamic memory variables (PUBLIC, PRIVATE, PARAMETERS) are supported in the X# language and runtime for compatibility only.
In most cases the type can and should be replaced with lexically scoped variables, such as LOCALs and GLOBALs.
See Also