Close and Remove stack from memory

Chris Sheffield revlist at cableone.net
Tue Aug 16 12:43:53 EDT 2005


Pretty easily, actually.

close stack "MyStack"
delete stack "MyStack"

These have always worked for me.  Just be careful not to accidentally  
use "delete" on a substack because it will actually get deleted from  
the main stack.  For more info, look up the command in the docs.

Chris


On Aug 16, 2005, at 10:11 AM, Stephen Barncard wrote:

> Hello, Friends,
>
> I'm having trouble with trying to 'Close and Remove Stack from  
> Memory' a stack window in a script while working in the IDE. No  
> matter if I use the 'destroy' properties in any configuration - I  
> still get the 'conflict' dialog from the IDE. Is there an  
> incantation - a window type or whatever - to fix this? Eric, you've  
> had to deal with this in your Backup plugin....
>
> I'm saving a preferences stack to a different file name in a  
> different area to be used as a clone later for 'first time  
> installation' of the prefs file.
>
> I want it to be saved and then have the copy go away. But the  
> memory image of the backup stays around, and if I open the prefs  
> file, the IDE complains.
>
> One can do this in the Application Browser -  how does one do this  
> in a script?
>
> thanks
> sqb
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

------------------------------------------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
------------------------------------------





More information about the use-livecode mailing list