[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
ClearText FastTTT
Purpose To clear all text on a rectangular section of the screen.
Declaration ClearText(X1,Y1,X2,Y2,F,B:integer);
X1 is the top left X coordinate (1..79)
Y1 is the top left Y coordinate (1..24)
X2 is lower right X coordinate (2..80)
Y2 is lower right Y coordinate (2..25)
F is the foreground color of the blank line (0..15)
B is the background color of the blank line (0..15)
Uses FastTTT.
Remarks The actual display color of the area will be set to B. The
only reason for setting the foreground color is to change
the attribute byte, for subsequent writes.
Example
USES FASTTTT;
BEGIN
CLEARTEXT(1,1,40,25,15,0);
END.
The lefthand side of the screen is cleared with a black background.
See Also:
ClearLine
PlainWrite
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson