Format 8
DISPLAY UPON COMMAND LINE changes the contents of the command-line buffer
DISPLAY cmd-line UPON COMMAND-LINE
Syntax Rules
- Different formats of the DISPLAY statement may be mixed together in one DISPLAY statement, as long as no ambiguity results.
The effect is the same as specifying each DISPLAY statement separately.
- cmd-line is an alphanumeric data item or nonnumeric literal.
General Rules
- The DISPLAY UPON COMMAND-LINE verb is used to move the contents of an alphanumeric data item into the buffer where the command
line is stored. The command line is not re-executed. The only effect of this verb is that it changes the value that will be
returned by subsequent ACCEPT FROM COMMAND-LINE statements.
- You can also access the command-line buffer from a C program. The buffer is an external data array named
Acmd_line.