home stack
Jan Schenkel
janschenkel at yahoo.com
Thu Feb 6 22:45:02 EST 2003
--- erik hansen <erikhans08 at yahoo.com> wrote:
> --- Jan Schenkel <janschenkel at yahoo.com> wrote:
> > The closest thing to a 'Home' stack for us now,
> > is to store all those nifty handlers into a
> separate
> > library stack, and then insert its script into
> > back at startup.
>
> this is what i have never been able to do.
> eventually it will be "oh, of course!"
>
Hi Erik,
It's not that hard, really. Just create a new stack,
put some handlers and functions in its stack script,
and then make them available by using
insert the script of stack "Foobar" into back
>From then on, messages, handlers and functions travel
'through' this script as well. It's a more advanced
version of 'start using stack' because you can tweak
the message path in a specific order.
The only thing you have to make sure to avoid in the
script, is any reference to 'me' as that's not going
to be the stack anymore.
Hope this cleared a few things up,
Jan Schenkel.
=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
More information about the use-livecode
mailing list