CloseConsole()

Syntax

CloseConsole()
Description
Close the console previously opened with OpenConsole(). Once the console has been closed, it's not possible to use any functions from this library, unless you open the console again. The console will automatically be closed when your program ends.

Example:
  For i = 0 To 4
    If OpenConsole()
      PrintN("This is console #"+Str(i))
      PrintN("Press return to close console")
      Input()
      CloseConsole()
    EndIf
  Next

Supported OS

All

<- ClearConsole() - Console Index - ConsoleColor() ->