1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-06-29 11:40:38 +00:00
QB64-PE/internal/help/_CONSOLETITLE.txt
SteveMcNeill 33adc04fc4 Add temp folder to repo. It's necessary as well!
Just more initial setting on... nothing much to see here.
2022-04-28 13:39:56 -04:00

37 lines
938 B
Plaintext

{{DISPLAYTITLE:_CONSOLETITLE}}
The [[_CONSOLETITLE]] statement creates the title of the console window using a literal or variable [[STRING|string]].
{{PageSyntax}}
: [[_CONSOLETITLE]] {{Parameter|text$}}
{{PageDescription}}
* The ''text$'' used can be a 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}}
<