Externally referencing an object

James Foster james at foster.net
Wed Jun 23 13:49:34 UTC 1999


Why not a global OrderedCollection to which you #add: every object to be
externally referenced and then use #indexOf: as the external reference? (Of
course, they could never be removed, but they could be replaced with nil.)

-----Original Message-----
From: Stephen Pair <spair at advantive.com>
To: squeak at cs.uiuc.edu <squeak at cs.uiuc.edu>
Date: Tuesday, June 22, 1999 5:50 PM
Subject: RE: Accessing an oop


>I just wanted a quick and easy way of generating nicely distributed numbers
>to keep track of some externally referenced objects and give the external
>system a handle to referenced the objects.





More information about the Squeak-dev mailing list