1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 15:51:20 +00:00
QB64-PE/internal/help/_CONSOLETITLE.txt

36 lines
873 B
Plaintext
Raw Normal View History

2016-03-18 11:36:04 +00:00
{{DISPLAYTITLE:_CONSOLETITLE}}
2021-04-25 22:40:25 +00:00
The [[_CONSOLETITLE]] statement sets the console window's title-bar text.
{{PageSyntax}}
2017-10-10 14:55:21 +00:00
: [[_CONSOLETITLE]] {{Parameter|text$}}
2021-04-25 22:40:25 +00:00
{{Parameters}}
* ''text$'' can be any literal or variable [[STRING]] value.
2017-10-10 14:55:21 +00:00
{{PageExamples}}
''Example:'' Hiding the main program window while displaying the console window with a title.
{{CodeStart}} '' ''
{{Cl|$SCREENHIDE}}
{{Cl|_DELAY}} 4
{{Cl|$CONSOLE}}
2019-04-15 01:15:33 +00:00
{{Cl|_CONSOLETITLE}} "Error Log"
{{Cl|_DEST}} {{Cl|_CONSOLE}}
2019-04-15 01:15:33 +00:00
{{Cl|PRINT}} "Errors go here! (fyi, this line is not an error)"
{{Cl|END}}
{{CodeEnd}}
2021-04-25 22:40:25 +00:00
:''Note:'' You can also use [[SHELL]] "title consoletitle" to set the title of the console window. However, the recommended practice is to use [[_CONSOLETITLE]].
2017-10-10 14:55:21 +00:00
''See also:''
* [[$CONSOLE]], [[_CONSOLE]]
* [[$SCREENHIDE]], [[$SCREENSHOW]]
* [[_SCREENHIDE]], [[_SCREENSHOW]]
2019-04-15 01:15:33 +00:00
{{PageNavigation}}