点击或拖拽改变大小

Functions._MRelease 方法

X#
Release variables that match a certain wildcard pattern

命名空间:  XSharp.RT
程序集:  XSharp.RT (在 XSharp.RT.dll 中) 版本:2.22 GA
语法
[NeedsAccessToLocalsAttribute(TRUE)]
 FUNCTION _MRelease(
	cMask AS STRING,
	lMatch AS LOGIC
) AS VOID
查看代码

参数

cMask
类型:String
The wildcard pattern to use when releasing the memvars. May contain * and ? characters.
lMatch
类型:Boolean
Indicates if the variables that need to be released should match (TRUE) or NOT match (FALSE) the pattern.
备注
For most dialects the variables are not removed but their values are replaced with NIL.
备注
提示 提示:
动态内存变量(PUBLIC、PRIVATE、PARAMETERS)仅在 X# 语言和运行时中用于兼容性。
在大多数情况下,类型可以和应该被替换为词法作用域变量,如 LOCAL 和 GLOBAL。
参见