A message path question
Dar Scott
dsc at swcp.com
Sat Jan 24 13:02:48 EST 2004
On Saturday, January 24, 2004, at 09:44 AM, Richard Gaskin wrote:
>> Is that because I have the "pass" statement in there?
>>
>> It seems like I should remove the pass statement. Any idea why the
>> docs in
>> their examples include it? It seems like it would only be useful if
>> you also
>> wanted the main stack's preOpenStack handler to run. Isn't that right?
>
> It's often considered good practice to be in the habit of passing
> system
> messages, so if you want to modify behavior later you can add a handler
> farther down the message path without having to go back and revise each
> script.
Test for the target in down path stacks.
Dar Scott
More information about the use-livecode
mailing list