_MRelease Function | |
Release variables that match a certain wildcard pattern
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax FUNCTION _MRelease(
cMask AS STRING,
lMatch AS LOGIC
) AS VOID
public static void _MRelease(
string cMask,
bool lMatch
)
Request Example
View SourceParameters
- cMask
- Type: String
The wildcard pattern to use when releasing the memvars. May contain * and ? characters. - lMatch
- Type: Logic
Indicates if the variables that need to be released should match (TRUE) or NOT match (FALSE) the pattern.
Remarks
For most dialects the variables are not removed but their values are replaced with NIL.
Remarks 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