LOTUSSCRIPT LANGUAGE


Seek statement
Example

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


position
Usage

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