[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GET                      Read Random File into Buffer                File I/O

 GET [#]filenum [,recnum]

    Transfers a record from a specified random access file into the
    associated random file buffer.

     filenum    The number under which the file was OPENed.

      recnum    A numeric expression in the range 1 to 16,777,215,
                specifying the number of the record to be transferred.
                Defaults to the next record, or record 1 (if no previous
                record has been read).

   ----------------------------------------------------------------------

      Notes:    After a record has been transferred from disk to the
                random file buffer, its data may be accessed via INPUT #,
                LINE INPUT #, or references to variables defined in a
                FIELD statement.

                If the file associated with filenum is a communications
                file, then recnum specifies the number of bytes to read.

See Also: OPEN PUT (File I/O)
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson