Rules governing stack purging

Trevor DeVore lists at mangomultimedia.com
Tue Oct 31 14:27:44 EST 2006


On Oct 31, 2006, at 11:08 AM, Richard Gaskin wrote:

> The destroyStack property is used to govern whether a stack remains  
> in memory when using "go" or "open", but it not honored when a  
> property within a stack is accessed.
>
> By honoring the destroyStack property consistently, accessing  
> properties of stacks which have this set to true would cause the  
> engine to read the file, obtain the data, dispose of the copy of  
> the stack in memory, and return the value requested.

I guess in my mind the current behavior makes sense.  I see a read of  
a property as something that reads a property, bringing it into  
memory if need be to complete the operation.  You approach it as the  
reading of the property being an open/read/close operation so  
destroyStack should come into play.  Is that correct?

-- 
Trevor DeVore
Blue Mango Learning Systems - www.bluemangolearning.com
trevor at bluemangolearning.com





More information about the Use-livecode mailing list