forked from QB64-Phoenix-Edition/QB64pe
-
Notifications
You must be signed in to change notification settings - Fork 0
_CONSOLETITLE
Samuel Gomes edited this page Nov 8, 2022
·
1 revision
The _CONSOLETITLE statement sets the console window's title-bar text.
_CONSOLETITLE text$
- text$ can be any literal or variable STRING value.
Hiding the main program window while displaying the console window with a title.
$SCREENHIDE
_DELAY 4
$CONSOLE
_CONSOLETITLE "Error Log"
_DEST _CONSOLE
PRINT "Errors go here! (fyi, this line is not an error)"
END
Note: You can also use SHELL "title consoletitle" to set the title of the console window. However, the recommended practice is to use _CONSOLETITLE.