MsgBox "message text"[[,icon][,"caption"]]
Where:
message text | is the text to display in the message dialog box. This parameter may be a variable containing the message text. |
icon | is one of the following Windows msgbox icons: ICONSTOP, ICONEXCLAMATION, ICONQUESTION, ICONINFORMATION. If omitted ICONEXCLAMATION is used. This parameter may be a variable containing the name of the ICON to use. |
caption | is the caption for the message box. If omitted the caption will be "TN3270 Plus". This parameter may be a variable containing the message box caption. |
The MsgBox command pauses the script and displays a dialog box that contains a message for the user. The MsgBox dialog box displays the message text and OK and Cancel buttons. Click the OK button to continue script processing. Click the Cancel button to cancel the script.
Example
MsgBox | "The script completed successfully!",ICONINFORMATION |
See Also:
TN3270 Plus is continually being improved. To learn more about the latest enhancements, please review our Version History web page.