"send" vs "dispatch"
Bob Sneidar
bobsneidar at iotecdigital.com
Tue Oct 9 10:33:17 EDT 2018
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 <use-livecode at lists.runrev.com> 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
More information about the use-livecode
mailing list