[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|            @ ... TO             |
+---------------------------------+
@ <row1, column1>
        TO <row2, column2>
        [DOUBLE | PANEL
        | <border string>]
        [COLOR SCHEME <expN>
        | COLOR <color pair list>]

-----------------------------------
Draws a box.
-----------------------------------

<row1, column1>
        Numeric coordinates (zero or greater) that specify upper left corner of
box.

<row2, column2>
        Numeric coordinates (zero or greater) that specify lower right corner
of box.

DOUBLE
        Box drawn with double line for border.

PANEL
        Box drawn with solid border.

<border string>
        Box drawn with specified characters.

COLOR SCHEME <expN>
| COLOR <color pair list>
        Overrides current color scheme by specifying a different pre-defined
color scheme, or by specifying a list of color pairs.  If omitted, boxes
will be drawn in default screen colors.

+---------------------------------+
|             Examples            |
+---------------------------------+
***** Border string with literal characters
@ 1,10 TO 22,45 '=', '=', '|', '|', '+', '+', '+', '+'

***** Border string with character expressions or variables
STORE '=' TO end
STORE '|' TO side
STORE '+' TO corner
@ 1,10 TO 22,45 end,end,side,side,corner,corner,corner,corner

***** Border string with ASCII value of desired character
STORE CHR(61) TO end
STORE CHR(124) TO side
STORE CHR(43) TO corner
@ 1,10 TO 22,45 end,end,side,side,corner,corner,corner,corner
        or
@ 1,10 TO 22,45 CHR(61),CHR(61),CHR(124),CHR(124),;
    CHR(43),CHR(43),CHR(43),CHR(43)

***** Border string using macro substitution
STORE ['=', '=', '|', '|', '+', '+', '+', '+'] TO box_string
@ 1,10 TO 22,45 &box_string

***** Border string with single character
STORE '*' TO box_char
@ 1,10 TO 22,45 box_char

-----------------------------------

See Also:  @ ... BOX

-----------------------------------

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