Click or drag to resize

_MSave Function

X#
Copy public and private memory variables visible within the current routine to a disk file.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax
 FUNCTION _MSave(
	cFileName AS STRING,
	cSkel AS STRING,
	lLike AS LOGIC
) AS VOID
Request Example View Source

Parameters

cFileName
Type: String
The name of the file, including an optional drive, directory, and extension. The default extension is .MEM
cSkel
Type: String
Wildcard pattern to use when saving. This can include literal characters as well as the standard wildcard characters, * and ?.
lLike
Type: Logic
When set to TRUE then variables matching the pattern are saved. When set to FALSE then the variables that do NOT match the pattern are saved.
Remarks
An existing MEM file will be overwritten. When an existing file is ReadOnly then an exception will be thrown.
See Also