CLOSECONSOLE

Purpose:

Closes an active display console window.

Syntax:

CLOSECONSOLE()

Returns:

An integer, 1 if a console was active and successfully closed, else 0.

Example:

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.

Remarks:

CLOSECONSOLE terminates a console window created by WRITECONSOLE.

See Also:

DISP

ECHO

INPUT

MESSAGE

PRINTF

SPRINTF

VIEWTEXT

WRITECONSOLE