|
||||||||||
|
||||||||||
Other Library Functions |
function | vfReader |
Library: omvfile - virtual file access and locking
Include: omvfile.xin |
Return type: Source Returns: An OmniMark source. |
define external source function vfReader value omVFile this-vfile
Where:
this-vfile
You can use this function to read from an omVFile.
You can use the source returned by this function with repeat scan, do scan, set, submit and similar OmniMark keywords.
Sample function call:
repeat scan vfReader vfile match ul "cat" output "feline" match ul "dog" | ul "hound" output "canine" match any => other output other again
The above code finds "cat" and outputs "feline", finds "dog" or "hound" and outputs "canine", and outputs anything else as is.
Other Library Functions vfCursorPosition vfDiscard VFileIsVersionCompatible VFileLibraryVersion vfLock vfMoveCursor vfOpen vfReader vfSize vfUnLock vfURL vfWriter |
---- |