MsgBox("prompt"[[,icon][,"caption"]])
Where:
prompt | 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 message box icons: ICONSTOP, ICONEXCLAMATION, ICONQUESTION, ICONINFORMATION. If omitted, ICONEXCLAMATION is used. Use ICONNONE to display the message box without an icon. This parameter may be a variable containing the name of the ICON to use. |
caption | is the caption that appears in the title bar of the message box. If omitted the caption will be "TN3270 Plus". This parameter may be a variable containing the message box caption. |
prompt, icon and caption may be variables.
The MsgBox command pauses the script and displays a dialog box that contains a message for the user. The MsgBox dialog box displays the prompt 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.