Delete a stack from memory - fails?
andre at andregarzia.com
Mon Jul 28 23:12:04 CDT 2008
you must set the destroyStack property to true if you want it to be
removed from memory I think. Like:
set the destroystack of stack "Test" to true
close stack "test"
On Mon, Jul 28, 2008 at 5:37 PM, David Bovill <david at openpartnership.net> wrote:
> 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.
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://www.andregarzia.com All We Do Is Code.
More information about the use-livecode