Skip to main content
Previous sectionNext section

OUT

Displays the character(s) specified by the corresponding numeric code(s).

Synopsis

OUT int[,int2[,...]

Arguments

int An integer code that corresponds to a character. You can specify a single character code or a comma-separated list of character codes.

Description

The OUT statement displays the specified characters on the terminal screen. Valid int codes include the ASCII character codes and the Unicode character codes. Codes are specified as base-10 integers. You can specify a single character, or a comma-separated list of characters. Characters specified in a list are concatenated into an output string.

The OUT statement display is not suppressed by the HUSH statement or the EXECUTE statement's CAPTURING clause.

Examples

The following example displays the character string “ABCD”:

OUT 65,66,67,68
Copy code to clipboard

The following example displays a character string of the first four lowercase letters of the Greek alphabet:

OUT 945,946,947,948
Copy code to clipboard

The following example displays the Euro currency symbol:

OUT 8364
Copy code to clipboard

The following example rings the bell on the terminal:

OUT 7
Copy code to clipboard

See Also