One thing that you might want to consider. If you're checking or setting
the values of several objects that reside in another stack, it might be
beneficial to set the global variable "defaultStack" to the name of that
stack. Referenced objects are always searched for in the defaultStack,
so that you would not have to specify a "path" to them. When you're
finished with objects in the other stack, set the defaultStack back to
the current stack.
I try to keep all references to a stack's objects in the stacks script.
For your example, I'd have a "Check_Work" handler in the "Scenario A
Simulation" that returns a true of false value, and I would reference
it as follows.
send "Check_Work" to stack "Scenario A Simulation"
if (the result is true) then
***************************************************************
* Boyd Sweeney Scientist, Nichols Research Corporation *
* sweeneyb@puzzler.nichols.com (205) 883-1170x1775 *
***************************************************************