LOTUSSCRIPT LANGUAGE
Sets the file position (the byte position in a binary file or the record number in a random file) in an open file.
Syntax
Seek [#]fileNumber , position
Elements
fileNumber
In a binary or sequential file, the first byte is byte number 1; in a random file, the first record is record number 1.
If position is zero or is omitted, Seek returns an error.
The record number in a Get statement or a Put statement overrides a file position set by a Seek statement.
Writing to a file after moving the file position beyond the end of the file appends data to the end of the file.
Example See Also