Yup. I groked that. So I always return empty for success and false if not.
> On Oct 8, 2018, at 17:53 , Mark Wieder via use-livecode > <[email protected]> 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 _______________________________________________ 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
