Use the CLS command to clear the R> Prompt window or PAUSE message box that is currently displayed.
Options
backcolor
Specifies the background color of the cleared area. Valid R:BASE background colors are black, blue, brown, cyan, green, gray, magenta, and red. In Windows you can also use yellow and white.
FROM scrnrow, scrncol
Specifies the first screen row to clear, starting at the column specified by scrncol.
TO scrnrow, scrncol
Specifies the last screen row to clear, ending at the column specified by scrncol.
About the CLS Command
CLS does not issue a form feed. CLS replaces the the NEWPAGE command in DOS to Windows conversions, which does issue a form feed. The additional CLS options pertain only to DOS versions of R:BASE.
Example
The following example clears the window from row 7 column 5 to row 9 column 60, and sets the background color in the cleared region to red.
CLS FROM 7,5 TO 9,60 RED