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


Purpose   Draws a box on the screen.

Decln.    Box(X1,Y1,X2,Y2,F,B,BoxType:byte)

Remarks   X1, Y1 are the coordinates of the top left corner of the area to
          be changed.
          X2, Y2 are the lower right corner coordinates.
          F, B are the foreground and background colors.
          BoxType is a code to indicate the box type: 0 no box, 1 single
          line box, 2 double line box, 3 single top/bottom and double
          sides, 4 double top/bottom and single sides. If a box type in the
          range 5..255 is used, the box is drawn using the ASCII character
          represented by that number.

          The area of the display inside the Box border is not cleared.

Example

BEGIN
    CLRSCR;
    BOX(1,1,80,20,LIGHTCYAN,RED,2);
END;

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