Stack Switching Question

Richard Gaskin ambassador at fourthworld.com
Thu Oct 6 00:54:10 EDT 2005


Jeanne A. E. DeVoto wrote:
> At 12:25 AM -0400 10/6/2005, simplsol at aol.com wrote:
>> By "destroyStack" don't we always mean "purge stack"?
> 
> The delete stack command, when used on a main stack, purges the stack 
> from memory. However, when used on a substack, it deletes that substack 
> from the stack file. The next time the stack file is saved, bye-bye 
> substack.
> 
> It is... (deep breath)... perhaps not the most well-thought-out feature 
> of the language. There is a bugzilla request 
> <http://support.runrev.com/bugdatabase/show_bug.cgi?id=1081> to split 
> the two functions of the delete stack command.

Good job -- got my vote.  Thanks.

> (This is separate from the destroyStack property, which does always 
> indicate whether the stack should be purged. Ironic that the more 
> alarming name is attached to the less dangerous feature...)

Maybe we should change the syntax "go next card" to "erase hard drive" 
for consistency in irrelevant ominousness ;)

--
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com



More information about the use-livecode mailing list