Home THE HYPERCARD CENTER Search

Help Extras

Home » Help Extras » Glossary of Terms » handler

handler

A block of HyperTalk statements, contained in the script of an object, that executes in response to a message or a function call matching the handler’s name.

The first line in a handler must begin with the keywords on or function followed by the name of the message or function. The last line of the handler must end with the keyword end.

Handlers defined using the on keyword are calledmessage handlers. You use a message handler to respond to messages sent by HyperCard or your scripts.

Handlers defined using the function keyword are calledfunction handlers. You use function handlers to return a value to the handler that calls it.

Placeholders

« General tools | Glossary of Terms | HyperTalk »


Version 0.8b4 (July 4, 2025)

Made with Macintosh

Sitemap | Switch to Modern View