Displays a dialog box with message.

messagebox <message> <title> [<special>]


string <message>
It is displayed in the dialog box.
string <title>
It is displayed as the dialog box title.
integer <special> (optional default=0)
If it is non-zero, following strings in <message> is treated as spacial character.
input output
\\ "\"
\n line feed
\t tab
This option is obsolete. You are recommended to use the strspecial command.


messagebox ErrorMessage 'Error'

title="Five lines display"
message="First line\nSecond line\nThird line\nFourth line\nFifth line\n"
strspecial message
messagebox message title
variable = 99
sprintf2 msg "%d" variable
messagebox msg "variable ="

See also