[Newbies] yourself

Eric Winger eric at thewingers.net
Thu Aug 31 15:54:12 UTC 2006


On Aug 31, 2006, at 8:35 AM, Bakki Kudva wrote:

> Hi,
>
> I'm a bit confused about y ourself. I understand that the definition
> of yourself is ^self
> But when I browse Object and look at yourself: all I find is the
> description string..
> "Answer self."
>
> What happened to ^self? Where is the actual code implementing this?

By default, all message sends return an object. If no object is 
specified by ^, then self is returned.

Eric

>
> Thanks,
>
> bakki
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>



More information about the Beginners mailing list