Caché MultiValue PROC Reference
Displays to Terminal.
T [text] [+]
||Optional A string to be displayed on the terminal screen. text can be a text string enclosed, or a reference to a buffer or a select list that contains the text string.
||A single character to be displayed on the terminal screen, specified by its decimal encoding. nn is a two-digit number. For example, I65 displays the character A.
||A single character to be displayed on the terminal screen, specified by its hexadecimal encoding. aa is a two-digit hexadecimal number. For example, X41 displays the character A.
||A display control operation. Specified as a single letter code. B = ring the bell; C = clear the screen; Sn = insert n spaces; U = move cursor up one line.
||A move cursor operation. Specified as positive integers for col (column) and row position. To specify just column position: (col). To specify just row position: (,row).
||A cursor control operation. Specified as a negative integer code number enclosed in parentheses.
PROC command controls terminal display. It displays a specified text and performs other terminal display operations.
string may be delimited with single quotes ('abc'), double quotes ("abc"), or backslashes (\abc\). By default, the text
string is followed by an automatic line return. If text
is omitted, T
just issues a line return. If text
is specified, the optional + character suppresses the line return following text
You can specify multiple terminal display arguments as a comma-separated list. Arguments are executed in left-to-right order. You can introduce a line break into comma-separated argument list following a comma. No automatic line return is performed between items in a T
command argument list. If there are multiple arguments, the optional + character can only appear following the final argument.
command ignores any code or code component that it cannot parse, and proceeds to the next comma-separated argument. For example, T C,"hello world"
and T CLEAR,"hello world"
perform the same operations; the LEAR
letters are ignored.