ClearConsole()

Syntax

ClearConsole()
Description
Clears the whole console content using the current background colour. The background color is set with ConsoleColor().

Parameters:
There are no parameters for this command.


Return value:
This command does not return a value.


Example:
If OpenConsole()
    PrintN("You will never see me")
    ClearConsole()
    PrintN("Press return to exit")
    Input()
EndIf
End

Supported OS

Windows

Console Index - CloseConsole() ->