点击或拖拽改变大小

Functions._MRestore 方法

X#
Recreate public and private variables previously saved to a file and initialize them with their former values.

命名空间:  XSharp.RT
程序集:  XSharp.RT (在 XSharp.RT.dll 中) 版本:2.22 GA
语法
 FUNCTION _MRestore(
	cFileName AS STRING,
	lAdditive AS LOGIC,
	 cSkel AS STRING,
	 lInclude AS LOGIC
) AS VOID
查看代码

参数

cFileName
类型:String
The name of the memory file to read. The default extension is .MEM
lAdditive
类型:Boolean
When set to TRUE then the existing memory variables will be saved. Otherwise all memory variables will be deleted first.
cSkel
类型:String
(Optional) Wildcard pattern to use when saving. This can include literal characters as well as the standard wildcard characters, * and ?.
lInclude
类型:Boolean
备注
When memory variables are restored, they are recreated as private variables with the scope of the current procedure or function unless they exist as public variables and you specify the ADDITIVE clause . If ADDITIVE is specified, public and private variables with the same names are overwritten unless hidden with PRIVATE. If ADDITIVE is not specified, all public and private variables are released before the memory file is loaded. In that case all restored variables will become private variables.
参见