Hi.<br><br>
<div><span class="gmail_quote">On 10/2/07, <b class="gmail_sendername">Mark Smithfield</b> &lt;<a href="mailto:m_smithfield@yahoo.com">m_smithfield@yahoo.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">As I read code in Squeak, I discover method names that<br>I do not<br>know. How do you find these methods if you don&#39;t know
<br>the type of<br>the receiver? </blockquote>
<div>&nbsp;</div>
<div>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).&nbsp; This should bring up the implementors of the method, and you can browse through all of the implementors and look at the code.&nbsp; If that still doesn&#39;t make sense, you can ask about the method here and others will nicely explain it to you (like Ron did).
</div>
<div>&nbsp;</div>
<div><font color="#550055">&gt;&gt; In the floor method from Number,<br><font color="#550055">&gt;</font>&gt;<br><font color="#550055">&gt;</font>&gt; &nbsp; &nbsp; truncation _ self truncated.<br><font color="#550055">&gt;</font>
&gt;<br><font color="#550055">&gt;</font>&gt; What does the underscore mean?<br></font>
<div style="DIRECTION: ltr"><font color="#550055">&gt;</font></div>
<div style="DIRECTION: ltr"><font color="#550055">&gt;</font>:=<br><font color="#550055">&gt;</font>In some images it shows up as a left-pointing arrow.<br><font color="#550055">&gt;</font>I&#39;m not sure if that&#39;s coming back in later iterations or not.
<br>&nbsp;</div>
<div style="DIRECTION: ltr">The underscore is an assignment.&nbsp; If you have picked the right font, you won&#39;t see underscores in the code, but rather a left-pointing arrow.&nbsp; I believe these fonts are still in the current versions of Squeak - but they just arent the default in some (most?) of the distributions.&nbsp; So, if you change the font (or modify the font yourself - I haven&#39;t done that, but it is doable), then you can currently get back the left-pointing arrow.
</div>
<div style="DIRECTION: ltr">&nbsp;</div>
<div style="DIRECTION: ltr">-Chris</div></div>
<div>&nbsp;</div><br>&nbsp;</div>