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