CLS

Core command CLEAR

Clear screen

Arguments

None.

Examples

CLS; or CLEAR;

Notes

Clears the console screen: CLS or CLEAR.

Invokes the operating system's native clear-screen command (cmd /c cls), which only works on Windows. If that fails (e.g. on Linux) and a database connection is active, falls back to printing enough blank lines to scroll the screen; with no active connection, the failure is simply reported and the screen is left as is.

Last modified in release 4.9.8.