mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 00:55:09 +00:00
35 lines
873 B
Text
35 lines
873 B
Text
{{DISPLAYTITLE:_CONSOLETITLE}}
|
|
The [[_CONSOLETITLE]] statement sets the console window's title-bar text.
|
|
|
|
|
|
{{PageSyntax}}
|
|
: [[_CONSOLETITLE]] {{Parameter|text$}}
|
|
|
|
|
|
{{Parameters}}
|
|
* ''text$'' can be any literal or variable [[STRING]] value.
|
|
|
|
|
|
{{PageExamples}}
|
|
''Example:'' Hiding the main program window while displaying the console window with a title.
|
|
{{CodeStart}} '' ''
|
|
{{Cl|$SCREENHIDE}}
|
|
{{Cl|_DELAY}} 4
|
|
{{Cl|$CONSOLE}}
|
|
{{Cl|_CONSOLETITLE}} "Error Log"
|
|
|
|
{{Cl|_DEST}} {{Cl|_CONSOLE}}
|
|
{{Cl|PRINT}} "Errors go here! (fyi, this line is not an error)"
|
|
{{Cl|END}}
|
|
{{CodeEnd}}
|
|
|
|
:''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:''
|
|
* [[$CONSOLE]], [[_CONSOLE]]
|
|
* [[$SCREENHIDE]], [[$SCREENSHOW]]
|
|
* [[_SCREENHIDE]], [[_SCREENSHOW]]
|
|
|
|
|
|
{{PageNavigation}}
|