Purpose |
Enable or disable auto-creation of a console window upon execution of the program. |
Syntax |
#CONSOLE [ON|OFF] |
Remarks |
#CONSOLE OFF can be used to create a program which doesn't need to output a visible result to the screen. |
Restrictions |
If you disable the console window, do not use commands that expect keyboard input, such as WAITKEY$, WAITSTAT, INPUT, or INKEY$. With no console from which to acquire input, these commands will simply lock up. #CONSOLE ON|OFF must precede all executable code. If #CONSOLE is omitted, the default condition is #CONSOLE ON. |
See also |