>We have a "main" app (stack + sub-stacks), and a "template" app (stack +
>sub-stack).
>The main app is running, the template is closed. From the main app, we
>need to open the template, and save it with a new file name. What happens
>is that the temp stack AND the duplicate stack stay open, and they have
>the same "main stack" name...How could we end-up with just our main app
>and the duplicate stack? (hope this is clear enough !-)

The problem you see is propably that a stack can be loaded into 
memory even when it is not opened. Even getting the name of a stack 
(referenced by filename) loads it. So try this:

set the fileName of stack <templateStack> to <newFileName>
set the name of stack <templateStack> to <newStackName>

When you now access the template stack again, a new copy is loaded into memory.


Regards
     R�diger
--------------------------------------------------------------------
| Ruediger zu Dohna   GINIT GmbH   0721-96681-63    [EMAIL PROTECTED] |
| PGP-Fingerprint: F1 BF 9D 95 57 26 48 42 FE F8 E8 02 41 1A EE 3E |
--------------------------------------------------------------------

Reply via email to