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



Purpose   To draw a horizontal line on the screen.

Declaration    HorizLine(X1,X2,Y,F,B,LineType: integer);

          X1 is the left X coordinate (1..79)
          X2 is the right X coordinate (2..80)
          Y is the Y coordinate (1..25)
          F is the foreground color (0..15)
          B is the background color (0..15)
          Linetype is the line type (see remarks)

Uses FastTTT.

Remarks   The normal values for the Linetype are:
               1    Single line
               2    Double line

               X2 may be larger than X1.



Example


               USES CRT,FASTTTT;
               BEGIN
                 HORIZTLINE(10,17,13,LIGHTCYAN,BLUE,1);
               END.


Draws a single horizontal line across the center of the screen.

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