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.
GET, PUT Statements (File I/O)
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Reads from a file into a random-access buffer or variable (GET); writes a
 variable or random-access buffer to a file (PUT).
 
    GET [#]filenumber%[,[recordnumber&][,variable]]
    PUT [#]filenumber%[,[recordnumber&][,variable]]
 
    ■ filenumber%      Number specified in the OPEN statement to open a file
 
    ■ recordnumber&    For random-access files, the number of the record to
                       read or write; for binary-mode files, the byte
                       position where reading or writing starts
 
    ■ variable         For GET, a variable used to receive input from the
                       file; for PUT, a variable that contains output to
                       write to the file; usually a variable of a user-
                       defined data type
 
 See Also
   File I/O Commands                 GET Statement (Graphics)
   PUT Statement (Graphics)          Random-Access File Variables