DISPLAY (to stdout)

The DISPLAY instruction displays text in line mode to the standard output channel.

Syntax

DISPLAY expression [,...]
  1. expression is any expression supported by the language.

Usage

The DISPLAY instruction can be used to print information to the standard output channel (stdout) of the terminal the program is attached to.

Before displaying to the standard output channel, the expression is converted to a character string. The values contained in variables are formatted depending on the data types and environment settings such as DBDATE and DBMONEY.

Example

MAIN
  DISPLAY "Today's date is: ", TODAY
END MAIN