1. Home
  2. DISPLAY directive

DISPLAY directive

Prints, or reprints, diagnostic messages.

Options

PRINT = string token What information to print (diagnostic); default diag
CHANNEL = identifier Channel number of file, or identifier of a text to store output; default current output file
FAULT = text Specifies the fault message to print (for example, FAULT='VA 4' prints the message “Values not set”); default is to print the last diagnostic message

No parameters

Description

By default, DISPLAY reprints the most recent diagnostic. Alternatively, you can use the FAULT option of DISPLAY to print any particular Genstat diagnostic. The CHANNEL option controls where the information is printed; the default is the current output file.

Options: PRINT, CHANNEL, FAULT.

Parameters: none.

See also

Directives: FAULT, GET.

Commands for: Program control.

Updated on March 8, 2019

Was this article helpful?