Project

General

Profile

Actions

Added in 1.8.10

/fseek [-lnrwp] <handle> <position | line number | wildcard | regex>

Sets the read/write pointer to the specified position in the file.

See also /fopen, /fclose, /fwrite, /flist, $fread, $fgetc, $feof, $ferr, $fopen.

Switches

Switch Description
-l Set position to line 'line number'.
-n Set position to start of the next line.
-r Set position to text matching 'regex'.
-w Set position to text matching 'wildcard'.
-p Set position to start of the previous line.

Parameters

Parameter Description
<handle> The file handle to seek.
<position | line number | wildcard | regex> The position/Line number with -l/Wildcard with -w/regex with -w to set.

Updated by Per Amundsen about 1 year ago · 11 revisions

Also available in: PDF HTML TXT