Click or drag to resize

_MRelease Function

Release variables that match a certain wildcard pattern

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION _MRelease(
	cMask AS STRING,
	lMatch AS LOGIC
) AS VOID

Parameters

cMask
Type: String
The wildcard pattern to use when releasing the memvars. May contain * and ? characters.
lMatch
Type: Boolean
Indicates if the variables that need to be released should match (TRUE) or NOT match (FALSE) the pattern.
Remarks
The variables are not removed but their values are replaced with NIL.
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