Dialog instructions / Static display (DISPLAY/ERROR/MESSAGE/CLEAR) |
The DISPLAY instruction displays text in line mode to the standard output channel.
DISPLAY expression
The DISPLAY instruction can be used to print information to the standard output channel (stdout) of the terminal the program is attached to.
The expression is typically a list of string constants and program variables separated by the comma concatenation operator.
Before displaying to the standard output channel, the expression is converted to a character string. The values contained in variables are formatted according to the data types and environment settings such as DBDATE and DBMONEY.
MAIN DISPLAY "Today's date is: ", TODAY END MAIN