swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
Functions       Platforms  
  omvfile - virtual file access and locking   OMDN

The omvfile library provides a unified interface to access a file from an OmniMark program, no matter where the file is located and no matter what protocol is used to access the file. One very useful feature of the omvfile library is the ability to lock and unlock entire files or sections of those files.

The omvfile library is a collection of OmniMark external functions. This external function library provides easy, efficient, and portable access to different types of streams and their corresponding connections from within an OmniMark program.

omvfile functions allow you to:

For a sample program, see locking a file, which shows you how to write a counter program for a website using omvfile.

The method of identifying a connection is that used by a URL, as defined in the W3C standards at http://www.w3.org/pub/WWW/Addressing/URL/url-spec.html .

All paths in omvfile operations are system independent and use the "/" UNIX-style separator.

The omvfile external function library requires OmniMark 6.0 or later. As well, the following line must be included at the beginning of the OmniMark program:

  include "omvfile.xin"

Functions
   vfCursorPosition
   vfDiscard
   VFileIsVersionCompatible
   VFileLibraryVersion
   vfLock
   vfMoveCursor
   vfOpen
   vfReader
   vfSize
   vfUnLock
   vfURL
   vfWriter
 
Platforms
   Linux (Intel)
   MS Windows 95/98
   MS Windows NT
   Sun Solaris
 
----  

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

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

Copyright © OmniMark Technologies Corporation, 1988-2000.