FS_CLOSE

Close one or more logical files

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
xcall FS_CLOSE([level][, channel])

level

(optional) The level through which to close. (n)

channel

(optional) The file-stack channel. If not passed, the default file-stack system is used. (n)

FS_CLOSE will close one or more file stack levels, always starting with the current one, and ending with the level specified. The highest level number is always the current one.

The following example will close file stack levels 3 and higher (through the current level).

xcall fs_close(3)

The second example will close the current file-stack level in the file stack whose channel is stored in filchn2.

xcall fs_close(, filchn2)