UMSG |
DEVELOPER |
Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Events and Logic > UMSG
|
|
Purpose |
UMSG displays a message or the contents of a critical variable to trace function processing. It may also be used to pause processing for a specific or indefinite period of time. |
Syntax |
UMSG operand1{,operand2} |
Operation |
operand1 is the message, variable or expression to be displayed on the last line of the CRT, overriding any information that already exists on that line. |
Remarks |
If operand2 is not specified, there is no pause after displaying operand1. |
Example 1 |
UMSG('HELLO')...Displays HELLO. |
Example 2 |
UMSG(CONV(TOTAL))...Displays the contents of the numeric variable TOTAL. |
Example 3 |
UMSG($ABC,-1)...Displays the contents of the variable $ABC and then waits for the user to enter RETURN to continue processing. |
Example 4 |
UMSG('HELLO',15)...Displays HELLO and then pauses the function for 15 seconds. |
Example 5 |
UMSG(CONV(A * B),600)...Displays the result of the expression A * B and then pauses the function for 10 minutes. |
Topic ID: 520133