Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

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

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

OUT 945,946,947,948

The following example displays the Euro currency symbol:

OUT 8364

The following example rings the bell on the terminal:

OUT 7

See Also

Feedback