[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
WriteCenter                                                    FastTTT



Purpose   To write text on the center of a line

Declaration    WriteCenter(Y,F,B: integer; ST: string);

          Y is the Y coord or line number (1..25)
          F is the foreground color (0..15)
          B is the background color (0..15)
          ST is the string or text to be displayed

Uses FastTTT.

Remarks   The same rules apply as for WriteAT e.g. no reals/integers,
          strings may be concatenated etc.



Example


               USES FASTTTT;
               BEGIN
                 WRITECENTER(1,13,0,'MAJOR HEADING');
               END.

See Also: WriteAT WriteBetween
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson