<P>I created a subclass to ordered collections.&nbsp; I am trying to add objects to the new class and then print it to make sure they are in there.&nbsp; I add one object it prints but when I add another object and print it only prints the first object i added</P>
<P><STRONG>sample code to add to list.</STRONG></P>
<P>account: aAccount<BR>&nbsp;"Add an account to the portfolio"</P>
<P>&nbsp;self isNil ifTrue:[self add: aAccount]<BR>&nbsp;&nbsp;ifFalse:[ self addLast: aAccount].</P>
<P>&nbsp;</P>
<P><STRONG>code to print list.</STRONG> </P>
<P>ccounts<BR>&nbsp;"Returns the accounts for the portfolio"</P>
<P>&nbsp;self do:[:element|^element number].<BR>&nbsp;</P>
<P>&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>