mes_usx
Opens the message window at the lower edge of the screen and issues a message text in the window.
Parameters:
[?] message name [,parameter 1 [,parameter 2 [,parameter 3]]]
- Message name
- You can only specify messages you previously defined in the message data list. If you do not specify a message name, DataView will directly issue a message text specified in param1. Thus you can issue text at runtime, which is not defined in the message data list.
- ?
- If you enter a ? directly before the message name, DataView will halt program execution after displaying the message text and expects a user confirmation. If the user confirms with [Enter], the userexit delivers the return code 0. DataView will close the message window and continue program execution. If the user confirms with [N] and [Enter], the userexit delivers the return code 1. You have to use the functions of the programming interface to evaluate the return code.
- Param 1...3
- The parameters can be any strings. At runtime DataView inserts the strings at the substitution elements %s, which you inserted in the text of the field message text of the message data list. DataView will replace the substitution elements in the sequence of their appearance in the message text. If you have not specified a message name, DataView will output Param 1 directly in the message window.
Usage as:
Userexit at all triggers.