in reply to Re^3: File seek
in thread File seek
From the documentation
The values for WHENCE are 0 to set the new position in bytes to POSITION; 1 to set it to the current position plus POSITION; and 2 to set it to EOF plus POSITION, typically negative.
I suspect your error message is because you are trying to seek to a negative offset from the beginning of the file.
Cheers,
JohnGG
|
|---|