EDT saves the most recent statements entered in F mode in a buffer. This statement buffer can be output using the @SHIH statement (Show Input History). The statement code K
can be used (following output to a work file) to enter the output line containing the required statement in the statement line.
Alternatively, the #
or n#
statement can be used to retrieve the last or nth
last statement directly into the statement line.
The statement buffer can accommodate a maximum of 2048 statements (independently of their length). No scrolling statements, statements for changing the operating or work mode or the statements @SHIH and # themselves are entered in the statement buffer. In the same way, statements that are not executed (e.g. because of syntax errors) are not entered in the statement buffer. In contrast, statements that are executed are always entered in the statement buffer, even if they report an error.
Statements that are entered in a statement chain are entered separately in the statement buffer. Statements are always entered in the buffer in the form in which they were originally issued and may therefore sometimes be entered in lowercase irrespective of the @LOWER setting. Leading blanks are removed and empty input is ignored.