|
||||||||||
|
||||||||||
Other Library Functions |
function | vfCursorPosition |
Library: omvfile - virtual file access and locking
Include: omvfile.xin |
Return type: Integer Returns: The current cursor position in the omVFile object. |
define external integer function vfCursorPosition value omVFile this-vfile
Where:
this-vfile
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 |
---- |