UM or EM - Display a User-Message (UM) or Error-Message (EM)
From STX Wiki
Jump to navigationJump to search
UM text [; title ]
- Display the argument text in a message box with caption title (default:
UM
) and the only buttonOK
. This function is a shortcut forMSGBOX MSG; text [; title=UM]
.
EM [ rc=-1 [ level=2 ]] ; text [; title ]
- Display the string
ERROR (rc) text
in a message box with caption title (default:EM
) and the only buttonOK
. When the dialog is closed use the commandEXIT level INT rc
to return.
Contents
Parameters:
- message
- The message to display.
Result:
0
Description:
A shorthand way to display a message to the user. See the macro BUTIL MSGBOX for more functionality.
Examples:
um Please press OK to continue