t

t


ston Index Level user exits, PROC
Syntax t {function,function,...}{+}  
Category PROC
Type Command
Description directs output to the terminal screen and controls special terminal display functions.

Functions:

+  Suppresses carriage return after output.

b  Rings terminal "bell".

c  Clears terminal screen.

(column,row)
 Outputs the value at the column and row coordinates.

in  Outputs ASCII character with an integer value of "n".

xn  Outputs ASCII character with integer hexadecimal value of "n".

"text"  Outputs literal text. Double quotes are required around literal text.

(@function)
 The entire complement of "@" functions are available. See "@ function (FlashBASIC)" for a complete listing.
Options
See Also cursor @ function term o u01a6 PROC comment u0192 u5193 CRT
Example t (-1),(20,0),"Main Menu"

This command clears the screen, (-1), positions the cursor at column 20, row 0, and displays the string "Main Menu".

t (10,10),(-13),"Chosen",(-14),(-4)

This command positions the cursor to column 10, row 10, displays the string "Chosen" in reverse video, (-13) and (-14), and clears to the end of the line, (-4).

s1
ihy
t (0,5),"Is this OK ?"
d1+
t i8,i8
ip?

This set of instructions sets the input buffer pointer to the first position (s1), places a "y" in the first input buffer position (ihy), outputs the string "Is this OK ?" at column 0, row 5, displays the contents of the first buffer position and holds the cursor (d1+), outputs two backspaces (t i8,i8) and prompts for input (ip?).  This displays the default value "y", backs up the cursor two positions so that it is one character in front of the "y" and then issues a prompt character, "?", which places the cursor directly over the "y".

t c,i7,(10,10),b

This statements clears the screen (c), rings the bell by issuing a character 7 (i7), positions the cursor at column 10, row 10, and rings the bell again (b).

t x1b,x8,"exec dir",x0

This statement is typically used to control an intelligent DOS  terminal (such as ViaDuct).  It sends a "preamble", consisting of an escape, backspace (x'1b' and x'8', specified in hex), then it sends the command string, "exec dir", followed by the "end" command character (x'0').  This statement can be written using integer references:

t i27,i8,"exec dir",i0
Warnings
Compatibility D3 7.0 AP R83
ston Index Level user exits, PROC