bas7advr.hlp (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.
RESTORE Statement Details
  ◄Syntax►  ◄Details►  ◄Example►                 ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
RESTORE allows DATA statements to be reread from a specified line.
 
RESTORE [{linelabel | linenumber}]
 
Usage Notes
    ■ After executing a RESTORE statement without a linelabel or
      linenumber, the next READ statement gets the first item in the first
      DATA statement in the program.
    ■ If linenumber or linelabel is specified, the next READ statement gets
      the first item in the specified DATA statement. If a line is
      specified, the line label must be in the module-level code. (Note
      that in the QBX environment, DATA statements are automatically moved
      to the module-level code.)