End Control Statement
The end keyword begins the last line of a handler. End is encountered when all of the handler's statements have been executed, except for any bypassed conditional blocks.
When the end statement is reached, the message that initiated execution of the handler is sent no further unless a pass <messageName> statement precedes the end statement. If the message that initiated this handler's execution was part of some other handler, control passes back to the calling handler.
The following handler can be put into the script of any object:
on mouseUp beep 2
This text has been mechanically extracted from the Oracle Media Objects 18.104.22.168 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.