On 11 Feb 2008, at 19:11, Russell Martin wrote:
I do, inside of my
openPrefsFile handler, open a separate stack stored on disk, but once
that handler completes and execution returns to the line below it, how
does the recently opened preferences stack then become the stack that
is calling readPrefsFile?!? That doesn't make any sense.


From a Stack Script using "this" does not always return the stack the Script is running in. In order to guarantee that you get the right stack use "me", or have a private function in the Stack Script that does this:

function GetStackName
return the name of this stack
end GetStackName

If "GetStackName" is called from the Same Stack Script it will return the correct name, since it was called by the same Script/Stack.

All the Best
Dave


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to