O

Outputs a text string to the terminal.

Syntax

O{text}{+}

Syntax Elements

text is one or more characters to be displayed.

+ inhibits RETURN/LINEFEED at the end of the string leaving the cursor positioned to the right of the last character displayed. This is useful when prompting for input from the user, since the input appears next to the prompt.

Operation

The O command outputs text to the terminal. No cursor positioning or video display features are available with this command (compare with the T command).

If no text is supplied, a blank line is output.

Example 1

Command

Terminal Output

O     ORDER ENTRY
O
OENTER ORDER NUMBER+
IP:

ORDER ENTRY

ENTER ORDER NUMBER:

Example 2

Command

Terminal Output

O    P A Y R O L L
O
OENTER EMPLOYEE NO.
IP?

P A Y R O L L

ENTER EMPLOYEE NO.
?