logo       

Re: yourself: msg#00263

lang.smalltalk.squeak.beginners

Subject: Re: yourself

I have ^self in my image
but anyway, by default, if there is ^ in a method, it returns self...
so an empty method (message) actually return self...

Cédrick

2006/8/31, Bakki Kudva <bakki.kudva@xxxxxxxxx>:
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?

Thanks,

bakki
_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
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