ClearConsole()

语法

ClearConsole()
概要
使用当前背景色清除整个控制台内容。使用ConsoleColor()来设置背景色。控制台必使用图形模式,请参考 EnableGraphicalConsole().

参数

无.

返回值

无.

示例

  If OpenConsole()
    EnableGraphicalConsole(1)
  
    PrintN("You will never see me")
    ClearConsole()
    
    PrintN("Press return to exit")
    Input()
  EndIf

参阅

EnableGraphicalConsole(), ConsoleColor()

已支持操作系统

Windows

Console 索引 - CloseConsole() ->