Clear a rectangular region of the screen
@ <nTop>, <nLeft> [CLEAR [TO <nBottom>, <nRight>]] [DOUBLE] [COLOR <cColor>]
<nTop> and <nLeft> define the upper-left corner coordinate.
TO <nBottom>, <nRight> defines the lower-right corner coordinates of the screen region to CLEAR. If the TO clause is not specified, these coordinates default to MAXROW() and MAXCOL().
@…CLEAR erases a rectangular region of the screen by filling the specified region with space characters using the current standard color setting. After @…CLEAR erases the designated region, the cursor is located in the upper corner of the region at <nTop> + 1 and <nLeft> + 1. ROW() and COL() are also updated to reflect the new cursor position.
. This example erases the screen from 10, 10 to 20, 40, painting the region blue and then displaying a bright cyan box on blue: SETCOLOR("BG+/B") @ 10, 10 CLEAR TO 20, 40 @ 10, 10 TO 20, 40
@…BOX, CLEAR SCREEN, SCROLL(), SETCOLOR()