PAUSE _ _ _ _ _ _ _ _ _ _ _ _ command
The pause command, given in an interactive file, stops operation and asks if you want to continue or not.
An interactive file is running, and at some point you see the question
Cont? (Y or N)
If you type
ykey{Return}
the file continues to run until the next pause or the end.
If you type
nkey{Return}
you will get a numbered REDUCE prompt, and be allowed to enter and execute any REDUCE statements. If you later wish to continue with the file, type
cont;
and the file resumes.
To use pause in your own interactive files, type
pause;in the file wherever you want it.
pausedoes not allow you to continue without typing either y or n. Its use is to slow down scrolling of interactive files, or to let you change parameters or switch settings for the calculations.
If you have stopped an interactive file at a pause, and do not wish to resume the file, type end;. This does not end the REDUCE session, but stops input from the file. A second end; ends the REDUCE session. However, if you have pauses from more than one file stacked up, an end; brings you back to the top level, not the file directly above.
A pause typed from the terminal has no effect.