Where are system globals (Smalltalk and SystemOrganization)

Yar Hwee Boon hboon at motionobj.com
Thu Dec 9 02:26:25 UTC 2004


On Thu, 9 Dec 2004 00:11:59 -0000, Aaron Gray <angray at beeb.net> wrote:

> The main problem I seem to have with looking at code is seeing what  
> class certain methods are for example in :-
>
> (Smalltalk reject: [:item | item class isMeta ])
>   associationsDo: [:assoc  | Transcript show: assoc key printString; cr].
>
> What class is key, if I look at Association I see key returns a key, but  
> what class is that key that printString is being applied to ?
> I find this same problem over and over, is there a simple solution ? I  
> may have been given the answer at somepoint but cannot remember.

You can put a self halt before the "Transcript show" to find out.

-- 
Regards
HweeBoon
MotionObj



More information about the Squeak-dev mailing list