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

Library: omvfile - virtual file access and locking
Include: omvfile.xin

Declaration

  define external function vfMoveCursor
         value omVFile vfile
      by value integer offset            optional
      to value integer absolute-position optional

Where:
this-vfile


offset
absolute-position

Purpose

You can use vfMoveCursor to move the cursor to a specified position. To do so, specify either the offset to move or the absolute value of the position to move to.

You will not be able to move the cursor position if the object has a source object (from a previous vfRead statement) or an output object (from a previous vfWrite statement).

Sample function call:

   vfMoveCursor vfile to vf-start

The above code moves the cursor to the start of the vfile. You can use the same call with VF-END to move the cursor to the end of the 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.