|
||||||||||
|
|
||||||||||
| Related Syntax | Other Library Functions | |||||||||
| function | vfsFileName |
Available in:
Professional Enterprise |
|
Library: omvfs - virtual file system
Include: omvfs.xin |
Return type: String Returns: The fully qualified file name in URL or local file system format. |
define external stream function vfsFileName
value vfsFile file
where
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
| ---- |