MsgBox

result% = MsgBox(Title$, Message$)

Displays a modal dialog box containing given title and message.

Returns zero or positive value if function succeeded, -1 otherwise.

Example:

MsgBox "Title", "Text"

Output:

MsgBox