|
Re: assorted beginner questions: msg#00009lang.smalltalk.squeak.beginners
Hi. On 10/2/07, Mark Smithfield <m_smithfield@xxxxxxxxx> wrote:
_______________________________________________As I read code in Squeak, I discover method names that If you are asking how to find out what a method does from the code, the easiest way is to place the cursor over the method (just a part of it) and press alt+m (on windows, or maybe ctl+m, or on a Mac, cmd+m). This should bring up the implementors of the method, and you can browse through all of the implementors and look at the code. If that still doesn't make sense, you can ask about the method here and others will nicely explain it to you (like Ron did).
>> In the floor method from Number,
>> >> truncation _ self truncated. > > >> What does the underscore mean? >
>:=
>In some images it shows up as a left-pointing arrow. >I'm not sure if that's coming back in later iterations or not. The underscore is an assignment. If you have picked the right font, you won't see underscores in the code, but rather a left-pointing arrow. I believe these fonts are still in the current versions of Squeak - but they just arent the default in some (most?) of the distributions. So, if you change the font (or modify the font yourself - I haven't done that, but it is doable), then you can currently get back the left-pointing arrow.
-Chris Beginners mailing list Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx http://lists.squeakfoundation.org/mailman/listinfo/beginners
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Beginners Digest, Vol 18, Issue 2, Michael Davies |
|---|---|
| Next by Date: | Re: [croquet-dev] Re: Quinto game in SBE, David Corking |
| Previous by Thread: | RE: assorted beginner questions, Ron Teitelbaum |
| Next by Thread: | Re: Beginners Digest, Vol 18, Issue 2, Mark Smithfield |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |