result(...)
result(...)
result(expression);
The result command ends execution of a handler and, in function handlers, returns the value of expression to the handler that called the function.
If result appears in a message handler (as opposed to a function handler), it ends execution of the handler.
Note: Script execution will stop when result is executed.