|
||||||||||
|
||||||||||
Other Library Functions |
function | vfWriter |
Library: omvfile - virtual file access and locking
Include: omvfile.xin |
Return type: Attachment Returns: An external output object. |
define external output function vfWriter value omVFile this-vfile
Where:
this-vfile
You can use vfWriter to write to an omVFile object. This function returns an OmniMark source that can be used with OmniMark keywords "put", "using output as", "open", and "set".
Sample function call:
include "omvfile.xin" process local stream foo local omVfile my-file set file "tar.txt" to "Z dog has fleas." set my-file to vfOpen "tar.txt" for "w" open foo as vfWriter my-file using output as foo output "A" output file "tar.txt" ; output: "A dog has fleas."
The above code overwrites the first character in my-file with "A".
Other Library Functions vfCursorPosition vfDiscard VFileIsVersionCompatible VFileLibraryVersion vfLock vfMoveCursor vfOpen vfReader vfSize vfUnLock vfURL vfWriter |
---- |