Delete a stack from memory - fails?

David Bovill david at openpartnership.net
Mon Jul 28 16:37:26 EDT 2008


What is a reliable way to delete a stack from memory?

delete stack "test"


can fail. I have a stack that was a library stack, contians no back or front
scripts, that uses no externals but I cannot delete from memory.

I am wandering if it could be due to having used shell commands that somehow
have not closed properly - they are certainly not active. Is there anything
I should look for, or any way to force a stack to be removed from memory?

Ah seem to have found the answer.... make sure a script is not being edited
or open in a tabbed script window in Galaxy script editor! This is the case
even if the window of the script editor is closed! So now to figure out how
to script the closing of any open Script Editors.... or to give up the idea
of being able to reliably close a stack using script in the IDE?

Any thoughts? I have a script which needs to make sure a particular stack is
saved and removed from memory before it runs.



More information about the use-livecode mailing list