<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Fw: Newbie Question: How to manage
instances?</title></head><body>
<div>Thanks very much for each of the several responses to my posting.
Every one of them helps my developing understanding.</div>
<div>&nbsp;</div>
<div>Tim</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>----- Original Message -----</div>
<div><b>From:</b> <a href="mailto:timcuth@bellsouth.net">Tim
Cuthbertson</a></div>
<div><b>To:</b> <a href="mailto:squeak@cs.uiuc.edu">Squeak Mailing
List</a></div>
<div><b>Sent:</b> Monday, May 24, 1999 7:26 PM</div>
<div><b>Subject:</b> Newbie Question: How to manage instances?</div>
<div><br></div>
<div>If I create an instance, e.g.,</div>
<div>&nbsp;&nbsp;&nbsp; aTrack := Track new</div>
<div>and then create another instance, again using</div>
<div>&nbsp;&nbsp;&nbsp; aTrack := Track new</div>
<div>is there any way to get to the first instance, again? If so,
how?</div>
<div>&nbsp;</div>
<div>Suppose I created eleven instances of Track and then wanted to
add them to an instance of Album, a subclass of Set. Even if I used
eleven different temp variables to hold references to each Track, I am
now faced with a similar problem for my instances of Album. If I don't
retain the temp variable I used when I created it, I don't understand
how to find it, again.</div>
<div>&nbsp;</div>
<div>I hope this makes sense. Thanks for any help.</div>
<div>&nbsp;</div>
<div>Tim</div>
<div>&nbsp;</div>
</body>
</html>