CRT Statement

The CRT statement sends data to the terminal display screen. It is identical to the PRINT statement except that it writes only to the terminal. The DISPLAY statement is identical to the CRT statement.

Format

CRT print-expr

DISPLAY print-expr

Parameter(s)

print-expr

A print expression, optionally combined with commas and colons to designate the format of the output. If print-expr is omitted, a blank line is output. See DISPLAY Statement for information on the format for a print expression.

Description

The CRT and DISPLAY statements cause data to be output to the terminal screen, regardless of whether a PRINTER ON statement has been executed. See DISPLAY Statement for more information on CRT and DISPLAY.

Example

To print the string "HELLO…" to the screen, the code might read:

CRT "HELLO…"

or

DISPLAY "HELLO…"

See Also

Statement and Function Reference