changing defaultStack

Richard Gaskin ambassador at fourthworld.com
Mon Nov 29 08:01:05 EST 2004


On Nov 29, 2004, at 1:03 AM, Troy Rollins wrote:
> 
> I chased similar things around and around in some of my projects. In 
> the end, I decided that I would *never* trust it, and explicitly refer 
> to stacks, or set the defaultStack in any handler which uses it. The 
> safest thing to do, is at the top of any handler which uses "this", is 
> to first tell it EXACTLY what "this" is.

I often do the same, setting the defaultStack before working on items 
with non-explicit references.

But I can't say I've seen cases where the default stack is necessarily 
wrong -- if you have a recipe please submit it to Bugzilla.

--
  Richard Gaskin
  Fourth World Media Corporation
  __________________________________________________
  Rev tools and more: http://www.fourthworld.com/rev


More information about the use-livecode mailing list