[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
PlainWrite FastTTT
Purpose To write text to the screen very quickly in the default
color attribute.
Declaration PlainWrite(Col, Row: byte; St: string); external;
Col is the X coord of first char. in string (1..80)
Row is the Y coord of string (1..25)
St is the string or text to be displayed
Uses FastTTT.
Remarks This procedure is external and the source code is actually
in assembly language (see the file FastTTT.asm on the
distribution disk, if you're interested). This procedure is
very similar to Fastwrite but it uses the current color
attribute for each character. It is even faster than
Fastwrite!
Example
USES CRT, FASTTTT
BEGIN
CLEARTEXT(1,1,80,25,WHITE,BLACK);
PLAINWRITE(1,1,'TOP LEFT OF SCREEN');
PLAINWRITE(59,25,'BOTTOM RIGHT OF SCREEN;);
END;
The screen is cleared to a black background with a white foreground,
and the two phrases are written to the screen in white letters.
See Also:
WriteAT
FastWrite
WriteVert
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson