brahma at hindu.org
Wed Nov 23 20:09:21 EST 2016
I guess I am not being clear
(hmm I guess this would be easy enough to test,
now that I break it down….)
helloWorld.livecodescript # stack
# contains handler 1
answer "One World, One God" with "OK!"
# contains handler 2
Answer "The new president!" with "God Help Him/Us!"
# does a variety of job including:
start using stack "HelloWorld.livecodescript # helloWord.livecodescript is now a "back" script.
# some higher level button on a card script or wherever
wonderOfWonders # evokes dialog from helloWorld.livecodescript
# but is the "libraryStack" also passed from hello
world stackk when that button is pressed that calls a handler within it??
On 11/23/16, 12:50 PM, "use-livecode on behalf of Richard Gaskin" <use-livecode-bounces at lists.runrev.com on behalf of ambassador at fourthworld.com> wrote:
Sannyasin Brahmanathaswami wrote:
> on libraryStack
> # do more initialization stuff here that you
> # may prefer to encapsulate inside this script
> end libraryStack
> ? this issue is: we don't want the initialization scripts in the
> stack to fire everytime it is called, only on the very first "start
If you don't want your global library to handle all libraryStack
messages you can add a condition like:
if the short name of the target <> the short name of me then
# do more initialization stuff here that you
# may prefer to encapsulate inside this script
More information about the Use-livecode