ConsoleTitle()

Syntax

ConsoleTitle(Title$)
Description
Change the console title to the new given one. The console title is typically shown in the title bar of the window which the console is in (when you are viewing the console in a graphical environment such as your desktop).

Under Windows the console title is also the text which is shown in the start bar and in the task manager, for your console application.

Parameters:
Title$ - A string which should be used as the title for the console window.


Return value:
This command does not return a value.


Example:
If OpenConsole()
    ConsoleTitle("The ConsoleTitle example program")
    PrintN("Press return to exit")
    Input()
    CloseConsole()
EndIf
End

Supported OS

Windows

<- ConsoleLocate() - Console Index - Inkey() ->