When does a Stack Actually Die in the IDE???

J. Landman Gay jacque at hyperactivesw.com
Fri Apr 14 12:26:34 EDT 2006


David Burgun wrote:
> Hi,
> 
> I have a stack that has:
> 
> destroyStack, destroyWindow set to true.
> 
> However, when I close it in the IDE (and maybe the standalone,  haven't 
> tried it?) it seems to still be around, by this I mean that:
> 
> if exists(theObjectLongID) = true then
> 
> end if
> 
> Succeeds and you can call objects inside that stack.
> 
>  I then closed it with "Close and Remove from Memory" command, but  the 
> exists() function still returns true.
> 
> Is this normal behavior? If so, is there a way if I can tell if an  
> Object is in a closed stack?

Using a script fragment I just posted in another note:

get (value(word wordoffset("stack",pLongID)+1 of pLongID)) \
   is in the openstacks


This should tell you if the stack is open or not.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list