1
1
Fork 0
mirror of https://github.com/DualBrain/QB64.git synced 2023-11-19 13:10:13 +00:00
QB64-website/wiki/_CONSOLETITLE.md
2022-12-24 21:14:48 -06:00

818 B

The _CONSOLETITLE statement sets the console window's title-bar text.

Syntax

_CONSOLETITLE text$

Parameter(s)

  • text$ can be any literal or variable STRING value.

Example(s)

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.

See Also