/
fileSeek
fileSeek
Description
Moves the file pointer to a specific spot in an already open file.
Parameters
Return Type
Integer
Returns the current position of the file pointer.
Error Handling
Throws String
Error: "seek_error": followed by the actual error
Example
Example 1
use "file";
int fid = open("C:\alphabet.txt");
seek(fid, 10);
runnerLog(fileReadLine(fid));
close(fid);
Returns: KLMNOPQRSTUVWXYZ
See also
, multiple selections available,
Related content
fileReadLine
fileReadLine
More like this
fileRead
fileRead
More like this
String Functions
String Functions
Read with this
fileSeek
fileSeek
More like this
readFromTextFile
readFromTextFile
Read with this
fileSeek
fileSeek
More like this