delete - main stack vs substack

2009-07-11 Thread jim sims
Delete will purge a main stack from memory BUT will permanently delete a substack (like gone forever). I do not want to permanently delete a substack by mistake in an all- purpose handler I am writing, would the following be enough to make sure a stack is NOT a substack? if stack

Re: delete - main stack vs substack

2009-07-11 Thread Phil Davis
jim sims wrote: Delete will purge a main stack from memory BUT will permanently delete a substack (like gone forever). I do not want to permanently delete a substack by mistake in an all-purpose handler I am writing, would the following be enough to make sure a stack is NOT a substack? if

Re: delete - main stack vs substack

2009-07-11 Thread Jim Sims
On Jul 11, 2009, at 9:33 AM, Phil Davis wrote: To be more certain, I would say: if stack tStackInQuestion is among the lines of the mainStacks then delete stack tStackInQuestion This will prevent the deletion of substack stack1 of mainStack stack1main. Thanks Phil! I knew mine just

Re: delete - main stack vs substack

2009-07-11 Thread Malte Brill
Hi Jim, another approach would be if the mainStack of tStackInQuestion = the short name of tStackInQuestion then delete tStackInQuestion -- assuming that tStackInquestion is a long reference to the stack Cheers, Malte ___ use-revolution mailing