Seek function (LotusScript® Language)
Returns 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 )
Elements
fileNumber
The number assigned to the file when it was opened with the Open statement.
Return value
Seek returns a Long value between 1 and 2.0E31 - 1, inclusive, unless the file position is very large. For a file position larger than 2.0E30, the return value is negative.
For a binary or sequential file, Seek returns the current byte position within the file.
For a random file, Seek returns the number of the next record within the file.
Usage
The first byte or record in a file is always file position 1.