[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Fastwrite FastTTT
Purpose The core procedure of the unit for fast screen writes.
Declaration Fastwrit(Col, Row, Attr: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)
Attr is the color attribute
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.) I recommend you
use the WriteAT procedure in preference to Fastwrit, because
it can pass foreground and background colors rather then the
combined color attribute. If the text is too long to fit on
the screen, it will be wrapped onto the next line.
Example
USES FASTTTT
BEGIN
FASTWRITE(1,1,14,'TOP LEFT OF SCREEN');
FASTWRITE(59,25,ATTR(14,4),'BOTTOM RIGHT OF SCREEN;);
END;
See Also:
Attr
WriteAT
PlainWrite
WriteVert
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson