CloseConsole()
Syntax
CloseConsole()Description
Close the console previously opened with OpenConsole(). Once the console has been closed, it's not possible to use any console-related functions unless you open the console again. The console will automatically be closed when your program ends. No effects with Linux and MacOS.
Parameters
None.
Return value
None.
Example
For i = 0 To 4 If OpenConsole() PrintN("This is console #"+Str(i)) PrintN("Press return to close console") Input() CloseConsole() EndIf Next
See Also
OpenConsole()
Supported OS
All