"send" vs "dispatch"

Mark Wieder ahsoftware at sonic.net
Mon Oct 8 20:53:51 EDT 2018

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
  ahsoftware at gmail.com

More information about the use-livecode mailing list