|
||||||||||
|
||||||||||
Other Library Functions |
function | vfLock |
Library: omvfile - virtual file access and locking
Include: omvfile.xin |
Return type: String Returns: A lock-id string. |
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
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 |
---- |