Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QuickBASIC 3.0 - <b>get read random file into buffer file i/o</b> http://www.X-Hacker.org [<<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)

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson