Closes an active display console window.
CLOSECONSOLE()
An integer, 1 if a console was active and successfully closed, else 0.
writeconsole(version + strescape("\n"));
pause(3);
closeconsole();
prints the current product version with a newline in a display console, waits 3 seconds and then terminates the console window.
CLOSECONSOLE terminates a console window created by WRITECONSOLE.