[Cuis-dev] Clicking the 'collapse' halo handle brings up the debugger

ken.dickey at whidbey.com ken.dickey at whidbey.com
Mon Apr 5 11:17:17 PDT 2021


On 2021-04-05 07:58, Pat Foley via Cuis-dev wrote:

> Can you explain this a bit? Does "safer" here means "less likely to be 
> nil"?
> Why would "self world" be capable of being nil?
> On Apr 5 2021, at 10:28 am, ken.dickey at whidbey.com wrote:
> 
>> Safer is
>> Object runningWorld


Morph>>world traverses the owner chain to its root.  If the Morph is 
_not_ in a world...

Note that multiple WOrlds are possible (a.k.a. Squeak Projects).

But Object>>runningWorld  answers the current World -- unless you are 
running "headless" (without a display), in which case, you don't have a 
handle to grab.  ;^)

Cheers,
-KenD


More information about the Cuis-dev mailing list