Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!gem.mps.ohio-state.edu!ctrsol!emory!ogccse!orstcs!mist!chouc From: chouc@mist.cs.orst.edu (Chou Chung-Di) Newsgroups: comp.lang.smalltalk Subject: Re: ST V/286 bl... globals Message-ID: <14139@orstcs.CS.ORST.EDU> Date: 2 Dec 89 07:04:46 GMT References: <453@DB0TUI11.BITNET> Sender: usenet@orstcs.CS.ORST.EDU Reply-To: chouc@mist.CS.ORST.EDU (Chou Chung-Di) Organization: Oregon State Univ. -- Computer Science Lines: 39 In
Thomas Muhrth (MUHRTH@DB0TUI11.BITNET) wrote: >How can I recover from a system state which I have produced by >mistakenly creating a Smalltalk at:xxxx variable which formerly pointed >to a Class!. Not that I am in much need of this class, but I can no longer >remove it via the ClassBrowser. 'RemoveSubclass' seems to do something, >but does not remove its entry from the class-listpane. >.... The simplest way to get rid of anything which is globally defined is to use the following method: (maybe you have already tried out this) Smalltalk removeFromSystem: #TheVariableToBeDeleted This should remove either a class or a global variable from the System Dictionary. I think you could also do it by expressing the following statement and go to the appropriate entry to do the deletion: Smalltalk inspect. If this is not what you want... Something I encountered before was similar to the described situation. But Smalltakl/V 286 only gave me a menu label something like: 'non-existent class'. I didn't have time to figure out where to get rid of it. (must be in ClassHierarchyBrowser some where....?) Could someone share the info if they ever solved this problem? ---------------------------------- Chung-Di Chou Department of Industrial and Manufacturing Engineering Oregon State University Corvallis, OR 97331 ----------------------------------