Best Way to Pass Values between Button and Stack Scripts

David Burgun dburgun at dsl.pipex.com
Tue Apr 20 08:00:49 EDT 2004


Hi,

What is is best way to pass a Value from an a Button Script to a Stack Script?

Each button handler does the following:

set theFlag to (true | false)
close this stack

then in the closeStack hander in the Stack Script:

if theFlag is true then
      save this stack
end if

I could use a global or would it be better to use a Custom Property? 
This is for a Modal Dialog Stack and I have quite a few of them and I 
want to do basically the same thing in each stack.

Thanks for any suggestions
Dave



More information about the use-livecode mailing list