CONSOLE

Windows Linux macOS

Syntax

CONSOLE OPEN

CONSOLE CLOSE

Description

The CONSOLE command allows a DialogScript Windows program to open and close a console window which may be used for input (using @READ and @READLINE) and output (using WRITE and WRITELINE.)

CONSOLE OPEN Displays a text mode console
CONSOLE CLOSE Closes the text mode console

If a script is compiled as a console application (by specifying this in the project options) then a console is automatically created when the program starts.

OK

Set to false if the command is unsuccessful.

See also