ClWIN() - Clear an area and attribute of screen
Clears characters and attributes from a screen area
──────────────────────────────────────────────────────────────────────────────

Syntax

ClWin([<nTop>], [<nLeft>], [<nBottom>], [<nRight>]) --> cNull

Arguments

<nTop> is the top coordinate where the clearing should begin. The
default is the cursor line.

<nLeft> is the left column where the clearing should begin. The
default is the cursor column.

<nBottom> is the bottom coordinate where the clearing should end. The
default is the last row of the current window.

<nRight> is the right column where clearing should end. The default is
the right column of the current window.

Returns

ClWin() always returns a null string, or "".

Description

ClWin() is used to clear an area of screen with a "W/N" colour setting
and a CHR(255).

Notes

■ This function does not alter the cursor position.

Examples

■ Clear from the cursor position to the end of the current window:

ClWin()

■ Do the same from the top of the current window

ClWin(0)

■ Clear from line 0, column 5, to the end of line 8 in the current window

ClWin(0, 5, 8)


Files: Library is MRWINDOW.LIB.