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

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

The current cursor position in the omVFile object.


Declaration

  define external integer function vfCursorPosition
      value    omVFile    this-vfile

Where:
this-vfile



Purpose

You can use this function to find the current position of the cursor of an omVFile object.

Sample function call:

  do when (vfCursorPosition vfile) > 1
     output "Your cursor is not at the beginning of vfile."
  done

Note: This function will return 0 if at the beginning of the object and will return a number equal to the object size in bytes at the end of the object.

        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:11 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.