ClearConsole()
Syntax
ClearConsole()Description
Clears the whole console content using the current background colour. The background color is set with ConsoleColor(). The console has to be in graphical mode, see EnableGraphicalConsole().
Example:If OpenConsole() EnableGraphicalConsole(1) PrintN("You will never see me") ClearConsole() PrintN("Press return to exit") Input() EndIf
Supported OS
Windows