topStack returns empty?

Phil Davis davis.phil at comcast.net
Sun Mar 7 22:01:17 EST 2004


Does the 'effective' modifier make any difference in the result?
   (e.g.  'put the effective topStack')

Phil Davis


> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Richard
> Gaskin
> Sent: Sunday, March 07, 2004 6:51 PM
> To: How to use Revolution
> Subject: topStack returns empty?
> 
> 
> The topstack function should return the topmost window of the lowest 
> mode, but under what circumstances (if any) should it return empty?
> 
> I would have thought that should never occur, since the engine requires 
> at least one stack open at all times.  In my circumstance it should be 
> even simpler, as there is one toplevel stack open and several palette 
> windows -- yet under circumstances I have yet to pin down a recipe for, 
> I have been able to query the topstack in the middle of a complex 
> routine and it returns empty.
> 
> Why?
> 
> -- 
>   Richard Gaskin
>   Fourth World Media Corporation
>   ___________________________________________________________
>   Ambassador at FourthWorld.com       http://www.FourthWorld.com
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution


More information about the use-livecode mailing list