Format
RESTORE
Description
This statement allows you to READ data from DATA statements after you have
already READ it once.
Example
DATA 0
READ A
RESTORE
READ B
In this example, "READ A" causes variable "A" to be set to 0. Now, the
DATA statement is "used up". There is no more data left on it to be read.
The RESTORE resets the DATA so that the next statement "READ B" will result
in "B" being set to 0. If the RESTORE was not done, the contents of B
would be undefined.
See Also
|