function
Library: File system utilities (OMVFS legacy)
Include: omvfs.xin |
define function vfsClose value vfsFile file
Argument definitions
Use vfsClose to declare explicitly that the specified vfsFile object is no longer needed.
You must include the following line at the beginning of your OmniMark program:
include "omvfs.xin"
Discarding an unopened vfsFile is allowed.
Discarding a previously discarded vfsFile is allowed.
General OS operation failure exceptions will return external exception VFS300. The text accompanying the exception will contain details on the reason for the exception.
Discarding a vfsFile
include "omvfs.xin" process local vfsFile myFile . . . set myFile to vfsOpen "foo.txt" . . . vfsClose myFile