Futurebasic/Language/Reference/box

Statement
✔ Appearance ✔  Standard ✔  Console

Syntax
box [fill] [h, v] to h1, v1 [to h2, v2 ...]

Description
Draws a rectangle which has diagonally opposite corners at coordinates and. The rectangle's frame is drawn using the current pen size, mode, pattern and color for the current window or printer. If the  clause is specified, then the rectangle is filled with the current window pattern.

If the  keyword is specified more than once, then several rectangles are drawn, each using  as one corner, and the coordinates following   as the diagonally opposite corner.

If the  and   parameters are omitted, then the rectangle's originating point is set to one of the following:  The coordinates of the most recent   statement (in any window) that actually specified the   and   parameters; The last point specified in the most recent  statement (in any window); (0,0), if no  statement has yet been executed, and no prior   statement that specified   and   has yet been executed. 

Console Behavior
When you use the Console,  always switches to the Graphics Window before drawing. You can't use  to draw a box in the Text Window, or on the printer; use the Toolbox procedures   or   instead. Alternatively, you can activate the graphics window and select Print from the File menu.