Get a handler from a script

Dick Kriesel dick.kriesel at mail.com
Tue Mar 21 07:31:33 EST 2006


On 3/21/06 2:37 AM, "Alex Tweedly" <alex at tweedly.net> wrote:

> I suspect you have a different idea for what handler 'a' will do - in
> fact, it *always" ask the time.

You suspected correctly, Alex.  Thanks for finding another mistake.  That
example only shows that the list of tokens is insufficient to reproduce the
_appearance_ of the handler.

Despite that weak example, the point was that the list of tokens is
insufficient to reproduce the _semantics_ of the handler, and therefore not
useful to "get a handler from a script."  Here's a better-chosen example of
two handlers with different semantics but the same tokens for the bodies of
the handlers:

on a
  put "foo" into bar
  return bar
end a

on b
  put "foo" into bar
  return "bar"
end b

> I'll answer about the comments separately,when I've had more time  to
> think about it.

I'm looking forward to it.

-- Dick






More information about the use-livecode mailing list