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

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

A lock-id string.


Declaration

  define external integer function vfLock
              value      omVFile    this-vfile
      from    value      integer    start-location optional
      to      value      integer    end-location   optional
      timeout	value      integer    time-out       optional
      id      modifiable int32      lock-id        optional

Where:
this-vfile


start-location
end-location
timeout
lock-id

Purpose

You can use this function to lock an omVFile object or a specific area of it.

Results depend on which combination of the optional parameters you use. For example:

Sample function call:

   vfLock vfile to 4

The above code locks the first 4 bytes of a vfile.

        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.