SEEK Statement QuickSCREEN
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
SEEK - a file I/O statement that sets the position in a file for
the next read or write
Syntax
SEEK [#]filenumber,position
■ filenumber is an integer used in an OPEN statement to open the file
■ position is a numeric expression indicating where the next read or
write is to be done:
- for files opened in RANDOM mode, position is a record number.
- for files opened in BINARY, INPUT, OUTPUT, or APPEND modes,
position is the number of a byte from the beginning of the file.
See Also ◄OPEN► ◄GET(File I/O)► ◄PUT(File I/O)►