mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-31 00:40:17 +00:00
30 lines
708 B
Text
30 lines
708 B
Text
|
The '''_CONSOLETITLE''' statement creates the title of the console window using a literal or variable [[STRING|string]].
|
||
|
|
||
|
|
||
|
{{PageSyntax}}
|
||
|
::: _CONSOLETITLE ''text$''
|
||
|
|
||
|
|
||
|
* The ''text$'' used can be a literal or variable [[STRING]] value.
|
||
|
|
||
|
|
||
|
''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}}
|
||
|
|
||
|
|
||
|
''See also:''
|
||
|
* [[$CONSOLE]], [[_CONSOLE]]
|
||
|
* [[$SCREENHIDE]], [[$SCREENSHOW]]
|
||
|
* [[_SCREENHIDE]], [[_SCREENSHOW]]
|
||
|
|
||
|
|
||
|
{{PageNavigation}}
|