Understanding 'the defaultStack'

Monte Goulding monte at appisle.net
Fri Oct 14 17:04:14 EDT 2016


> On 15 Oct 2016, at 8:01 AM, Richard Gaskin <ambassador at fourthworld.com> 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.

Cheers

Monte


More information about the use-livecode mailing list