Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>@...box</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
@...BOX


Syntax:     @ <expN1>, <expN2>, <expN3>, <expN4> BOX <expC>

Purpose:    To draw a box on the screen with configurable border and
            fill characters.

Arguments:  <expN1> is the top row.  Values may be in the range of
            zero to 24.

            <expN2> is the left most column.  Values may be in the
            range of zero to 79.

            <expN3> is the bottom row.  Values may be in the range
            of zero to 24.

            <expN4> is the right most column.  Values may be in the
            range of zero to 79.

            <expC> is a string of eight border characters and one
            fill character.  @...BOX draws the box using this string
            starting from the upper left hand corner and then proceeds
            clockwise.

Library:    CLIPPER.LIB


----------------------------------- Examples -------------------------------

   The following are the border definitions for several common box
   types:

   * Regular single-line box.
   single = CHR(218) + CHR(196) + CHR(191) + CHR(179) +;
            CHR(217) + CHR(196) + CHR(192) + CHR(179)

   * Regular double-line box.
   double = CHR(201) + CHR(205) + CHR(187) + CHR(186) +;
            CHR(188) + CHR(205) + CHR(200) + CHR(186)

   * Double-line top and single-line side box.
   double_single = CHR(213) + CHR(205) + CHR(184) +;
            CHR(179) + CHR(190) + CHR(205) +CHR(212) +;
            CHR(179)

   * Single-line top and double-line side box.
   single_double = CHR(214) + CHR(196) + CHR(183) +;
            CHR(186) + CHR(189) + CHR(196) + CHR(211) +;
            CHR(186)


   Later draw the box like this:

   @ 1, 1, 22, 79 BOX double_single


See Also: @...CLEAR @...TO

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson