qck.hlp (Table of Contents; Topic list)
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 Function, SEEK Statement
  ◄Summary►  ◄Details►  ◄Example►                ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
 Returns the current file position (SEEK function); sets the file position
 for the next read or write (SEEK statement).
 
    SEEK(filenumber&)
    SEEK [#]filenumber%, position&
 
    ■ filenumber&    Number of an open file
      filenumber%
 
    ■ position&      Position where the next read or write occurs; for
                     random-access files, a record number; for other files,
                     the byte position relative to the beginning of the file
                     where the first byte is at position 1
 
 See Also
    ◄GET Statement (File I/O)►         ◄OPEN Statement (File I/O)►
    ◄PUT Statement (File I/O)►         ◄SEEKEQ Statement►
    ◄SEEKGE Statement►                 ◄SEEKGT Statement►