Clears the client area of a window.
WINDOW CLEAR [window]
|window||Window can be
The name of an open window. The software looks up name in the currently accessed directories in the usual way. A compiled command using name contains the unambiguous name of the window (including a reference to an application directory) that was found at compile time.
A character string, or an expression that evaluates to a character string, that is to be used at run time as a window object name. The parentheses must be entered.
A compiled command using (expr) can refer to many windows, at the risk of encountering an ambiguous window name (i.e., no directory specified when versions of the window are available in two or more directories).
If neither name nor (expr) is specified, the current window is assumed.
The WINDOW CLEAR command erases the contents of a window. The client area of a window appears blank. For text windows, the window is cleared by overwriting the client area with the specified fill character. The “window dressing” (border, buttons, etc.), and menu (if any) are not affected. Any form open in the window remains open, but ceases to be displayed.