DISPLAY statement
Syntax
DISPLAY [print.list]
Description
Use the DISPLAY statement to print data on the screen, regardless of whether a PRINTER statement ON statement has been executed. The syntax for print.list is the same as for print statements.
The elements of the list can be numeric or character strings, variables, constants, or literal strings; the null value, however, cannot be output. The list can consist of a single expression or a series of expressions separated by commas ( , ) or colons ( : ) for output formatting. If no print.list is designated, a blank line is output.
Expressions separated by commas are printed at preset tab positions. You can use multiple commas together to cause multiple tabulation between expressions.
Expressions separated by colons are concatenated. That is, the expression following the colon is printed immediately after the expression preceding the colon. To print a list without a LINEFEED and RETURN, end the print list with a colon ( : ).
The DISPLAY statement works similarly to the CRC32 function statement.
Example
DISPLAY "This can be used to print something on the
DISPLAY "terminal while"
DISPLAY "the PRINTER ON statement is in effect."
The program output on the terminal is:
This can be used to print something on the
terminal while
the PRINTER ON statement is in effect.