function
Library: File system utilities (OMVFS legacy)
Include: omvfs.xin |
Returns: The fully qualified file name in URL or local file system format. |
define external stream function vfsFileName value vfsFile file
Argument definitions
Use vfsFileName to get the file name of a vfsFile object.
You must include the following line at the beginning of your OmniMark program:
include "omvfs.xin"
The vfsFile object file must be open (else external exception VFS200).
The function returns the filename in
The output from this program will be "/programs/myscript.xom".
include "omvfs.xin" process local vfsFile myFile local stream file-name . . . set myFile to vfsOpen "/programs/myscript.xom" . . . set file-name to vfsFileName myFile output file-name