Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!pipex!warwick!niss!gdt!dcl-cs!reiff
From: reiff@comp.lancs.ac.uk (Mr F Reiff)
Subject: How do you get a list of all instance of a class?
Message-ID: <D0K0np.E8H@comp.lancs.ac.uk>
Sender: usenet@comp.lancs.ac.uk (The Guardian)
Nntp-Posting-Host: dcl-sparx2
Organization: Computing Department, Lancaster University.
Date: Fri, 9 Dec 1994 17:31:00 GMT
Lines: 12

Is there any way in smalltalk to get a list of all instances of a class, say
ScheduledWindow, that are in existence in the system at that moment in time?
Furthermore, I need to do this within a program, so I can't use inspectors on 
'Smalltalk' or anything similar.

Thanks in advance

                                                                Frank
----------------------------------------------------------------------------
reiff@comp.lancs.ac.uk


