Control Structures

pass

Supported By

Syntax

pass handlerName

pass to object

HandlerName is the name of the handler containing the pass statement. Object yields a variant able to respond to messages.

Description

The pass statement ends execution of the handler and sends the entire message or function call that initiated execution of the handler to the next object in the hierarchy.

The pass to form ends execution of the handler and sends the entire message or function call that initiated execution of the handler to the specified object instead. The statement pass to interpreter will send the message or function call to the interpreter, bypassing the hierarchy completely, resulting in the execution of a built-in command or the evaluation of a built-in function.

Notes

Unlike the send and tell structures, pass never returns to the handler or script containing the pass statement.

HyperTalk does not support the pass to form.

See Also

on, function, end, exit, send