Click or drag to resize

_MxRelease Function

X#
Release one or more memory variables variables.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax
[NeedsAccessToLocalsAttribute(TRUE)]
 FUNCTION _MxRelease(
	var1,
	var2,
	var3,
	var4,
	varn
) AS VOID CLIPPER
Request Example View Source

Parameters

var1 (Optional)
Type: Usual
Variable 1
var2 (Optional)
Type: Usual
Variable 2
var3 (Optional)
Type: Usual
Variable 3
var4 (Optional)
Type: Usual
Variable 4
varn (Optional)
Type: Usual
Variable n
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