DISPLAY UPON COMMAND LINE

Format 8

DISPLAY UPON COMMAND LINE changes the contents of the command-line buffer

DISPLAY cmd-line UPON COMMAND-LINE

Syntax Rules

  1. 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.
  2. cmd-line is an alphanumeric data item or nonnumeric literal.

General Rules

  1. 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.
  2. You can also access the command-line buffer from a C program. The buffer is an external data array named Acmd_line.