swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
      Other Library Functions  
function   vfReader   OMDN

Library: omvfile - virtual file access and locking
Include: omvfile.xin
Return type: Source
Returns:       

An OmniMark source.


Declaration

  define external source function vfReader
      value omVFile this-vfile

Where:
this-vfile



Purpose

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
 
----  

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ OMX ] [ OMX ] [ ERRORS ]

Generated: August 11, 2000 at 3:08:12 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.