Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
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)►