<P>I am trying to find a certain value in a collection. does something if true or does something if false and for some reason it always evaluates to false and I know its there. Any help would be great</P>
<P><STRONG>sample code</STRONG>.</P>
<P>findAccount: accountNumber<BR> "Find the account with the argument number"</P>
<P> self do:[:element | element number == accountNumber <BR> ifTrue:([Transcript show: element;cr])<BR> 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> </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>