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.
DATA, READ, RESTORE Statements
  ◄Summary►  ◄Details►  ◄Example►                ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
 Specifies values to be read by subsequent READ statements (DATA); reads
 values and assigns them to variables (READ); prepares values in specified
 DATA statements to be reread (RESTORE).
 
    DATA constant [,constant]...
    READ variablelist
    RESTORE [label | linenumber]
 
    ■ constant        Any valid numeric or string constant specifying the
                      data to be read
 
    ■ variablelist    One or more valid variables, separated by commas, that
                      are assigned data values
 
    ■ label           The label or line number of a DATA statement; if
      linenumber      omitted, the next READ statement reads values in the
                      first DATA statement found in the program