On 10/08/2018 04:41 PM, Bob Sneidar via use-livecode wrote:
Another nice feature of dispatch is that if the handler does not exist in the target, it will silently and gracefully fail, continuing to execute code after the call.
Yeah, that's a double-edged doohickey, though. I *do* use it that way sometimes as well, but note that if you don't check the result then you won't know if the dispatch succeeded when you want it to.
Sometimes silently failing is good, sometimes not so much. YMMV. -- Mark Wieder [email protected] _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
