REDUCE

12.4 SHUT Command

This command takes a list of names of files that have been previously opened via an out statement and closes them. Most systems require this action by the user before he ends the REDUCE job (if not sooner), otherwise the output may be lost. If a file is shut and a further out command issued for the same file, the file is erased before the new output is written.

If it is the current output file that is shut, output will switch to the terminal. Attempts to shut files that have not been opened by out, or an input file, will lead to errors.


Hosted by Download REDUCE Powered by MathJax