Restarts a recorded job.
||Channel number of the backing-store file where the information was dumped; default 1|
||Whether to close the file afterwards (
RESUME recovers the information stored by a previous
RECORD statement so that you can continue your use of Genstat as though nothing had happened in between. Genstat deletes all the data structures that were created in the current job prior to
RESUME, and reinstates the data structures that were available in Genstat at the time the
RECORD statement took place. In addition, the current graphics settings are replaced by those that were in force when
RECORD was used, but any external files that are attached to Genstat remain unaffected.
RECORD directive was used within a procedure or a
FOR loop, the job is not resumed at that point. Instead, it restarts at the statement after the procedure call, or after the outermost
CHANNEL option specifies the channel to which the file has been connected (this can be done using the
OPEN directive). You can set the
CLOSE option to
yes to close the file after the information has been recovered.
Commands for: Input and output.
" Example 1:3.6.2 " OPEN 'DUMP.GBS'; CHANNEL=1; FILETYPE=backingstore VARIATE [VALUES=1,2] A RECORD PRINT A CLOSE 1; FILETYPE=backingstore ENDJOB OPEN 'DUMP.GBS'; CHANNEL=1; FILETYPE=backingstore RESUME CALCULATE A = A+1 PRINT A CLOSE 1; FILETYPE=backingstore; DELETE=yes