MsgBox (statement)

Syntax

MsgBox msg [,[type] [,title]]

Description

This command is the same as the MsgBox function, except that the statement form does not return a value. See MsgBox (function).

Example

Sub Main()
  MsgBox "This is text displayed in a message box." 'Display text.
  MsgBox "The result is: " & (10 * 45) 'Display a number.
End Sub

See Also

AskBox$ (function); AskPassword$ (function); Input, Input$, InputB, InputB$ (functions); OpenFilename$ (function); SaveFilename$ (function); SelectBox (function); AnswerBox (function).

More information

M