Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
You are now familiar with the idea of functions. A typical function in Visual Basic accepts 0, 1, or more input data items (i.e. arguments) and returns one output data item. Of course, you are free to either use or discard that output data item. The MsgBox () function is used for displaying a message on the screen. The generic syntax of a function call to MsgBox () function is as follows:
intReturn = MsgBox (strPrompt [, intStyle [, strTitle]])