MSGBOX Statement                                                                                                                    

Displays a message in a dialog box, waits for the user  to click a button

 

MSGBOX(message)

 

Arguments

message       String - String expression displayed as the message in the dialog box. 

 

Remarks

The maximum length of prompt is approximately 1024 characters, depending on the width of the characters used. If prompt consists of more than one line, you can separate the lines using a carriage return character (Chr(13)), a linefeed character (Chr(10)), or carriage return–linefeed character combination (Chr(13) & Chr(10)) between each line.

 

Example

DIM value as string

MSGBOX value

MSGBOX "Complete"