Click or drag to resize

MemVarClear Function

X#
Release a memory variable

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 FUNCTION MemVarClear(
	symVar AS STRING
) AS VOID
Request Example View Source

Parameters

symVar
Type: String
The name of the variable you want to clear.
Remarks
The value of this variable will be set to NIL. The variable is NOT deleted.
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