<P>I am trying to find a certain value in a collection.&nbsp; does something if true or does something if false and for some reason it always evaluates to false and I know its there.&nbsp; Any help would be great</P>
<P><STRONG>sample code</STRONG>.</P>
<P>findAccount: accountNumber<BR>&nbsp;"Find the account with the argument number"</P>
<P>&nbsp;self do:[:element | element number == accountNumber <BR>&nbsp;&nbsp;ifTrue:([Transcript show: element;cr])<BR>&nbsp;&nbsp;ifFalse:([Transcript show: 'No such account exists in this portfolio';cr])].</P>
<P><STRONG>element is an object that has number as a method </STRONG></P>
<P><STRONG></STRONG>&nbsp;</P><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail Plus</a> - Powerful. Affordable. <a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign up now</a>