BOX

The BOX expression is used to draw boxes on most terminal types (it is ignored on other terminal types).

The form of this expression is:

   BOX (upperleftcol,upperleftrow,lowerrightcol,​lowerrightrow)

Example:

   PRINT BOX(1,1,60,5)

draws a rectangle with the upper left corner at column 1, row 1 and the lower right corner at column 60, row 5, using a special graphics character set.

The BOX expression can be used to draw horizontal lines (a box on only one row) or vertical lines (a box in only one column).

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.