(Newbee) Thoughts about removing class with code

karl karl.ramberg at chello.se
Mon Nov 14 21:55:29 UTC 2005


Marcus Pedersén wrote:

> Hi!
> I have a tempVariable (String) holding the name of my class that I 
> want to "delete".
> But how do I get hold of the class so I can remove it?
> Something like:
> | className |
> className := 'myClass'.
> className removeFromSystem.
> (Ofcause this does not work as className is a String)
> But how do I get hold of the class to be able to make this work?

className asSymbol ?

Karl

>  
> Many thanks in advance!
> Marcus
>
>------------------------------------------------------------------------
>
>
>  
>





More information about the Squeak-dev mailing list