Sheltran - I/O statements
- The following I/O statements are recognized: READ, WRITE, OPEN,
CLOSE, REWIND, BACKSPACE, INQUIRE, ENDFILE.
- <exit specifier> can be any one of the following: XWHILE,
XREPEAT, XFOR, STOP, RETURN or <procedure name>.
- The exit specification must appear on the first line of the I/O
The use of <procedure name> is equivalent to a PERFORM of the
procedure between the I/O statement and the statement following it. The
use of the other items will have the normal SHELTRAN meaning.