Stack Switching Question

Jeanne A. E. DeVoto revolution at jaedworks.com
Thu Oct 6 00:34:21 EDT 2005


At 12:25 AM -0400 10/6/2005, simplsol at aol.com wrote:
>Richard, Jacque, et. al.,
>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.

(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...)
-- 
jeanne a. e. devoto ~ revolution at jaedworks.com
http://www.jaedworks.com



More information about the use-livecode mailing list