Understanding 'the defaultStack'

Richard Gaskin ambassador at fourthworld.com
Fri Oct 14 17:08:16 EDT 2016


Monte Goulding wrote:

 >> On 15 Oct 2016, at 8:01 AM, Richard Gaskin wrote:
 >>
 >> I can't recall the last time I needed defaultStack.  It may well
 >> have been quite recently, but it must being doing what I expected
 >> it to do since I've never had to think about it before this thread.
 >
 > Every time you use an object reference that doesn’t contain an
 > explicit stack reference you are using the defaultStack. You might
 > not be getting or setting the value but you would be depending on
 > it in a large part of your code.

Exactly.  It must be working pretty well as it is or we would have had 
many more confused posts for decades rather than just a dozen only very 
recently.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list