i not expected deferring actions of Script1 beyond the call of it.. i checked this, you are right.
But it seems to me, such behavior is bad: if i want repeatedly call Script1 with different arguments and to use each result in Script2 ? -- the only way is to copy that functions from Script1 into Script2...
What if Script1 is a function library ?..
I dont know other way in cortona to get synchronos result of function call of other Script.
It seems to me, we have to use large Script with main logic and all functions with synchronous calls..
|
|