On 8/3/22 09:14, Bob Sneidar wrote:
One correction. If a value is returned by the handler that was called, the
result will be that value.
Yeah - good catch. I meant to say the "it" value is three-state, not the
"result".
dispatch someMessage
if it is not "unhandled" then...
or
if it is "passed" then...
or
if it is "handled" then...
and note that you can dispatch functions as well a commands, and the
return value of the function will be in the result if "it" is not
"unhandled".
--
Mark Wieder
ahsoftw...@gmail.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode