Caché MultiValue PROC Reference
T
[Back] [Next]
   
Server:docs1
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Displays to Terminal.
Synopsis
T [text] [+]
T Inn
T Xaa
T code
T (col,row)
T (-n)
Arguments
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.
Inn 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.
Xaa 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.
code 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.
(col,row) 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).
(-n) A cursor control operation. Specified as a negative integer code number enclosed in parentheses.
Description
The T PROC command controls terminal display. It displays a specified text and performs other terminal display operations.
A text 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.
The T 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.
See Also