logo       

Re: yourself: msg#00266

lang.smalltalk.squeak.beginners

Subject: Re: yourself


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@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise