FileSeek
Moves the file pointer to a specified position in a file.
Syntax
FileSeek(File, Offset)
File:
The file number.
Offset:
The offset in bytes, from 0 to (maximum file size -1). This value needs to be >= 0.
Return Value
The new file position, or -1 if an error is detected.
Related Functions
Example
! Seek to the start of the file.
FileSeek(File,0);
See Also