Can I create a class at Runtime? I want to define a class this way<br>
<br>
MyObject class: #newclass<br>
<br>
so that myobject MyObject has the class message class: that return a
new instance of newclass (but newclass is never devfined before.) I
think i can write<br>
<br>
class: #aSymbol<br>
<br>
^&nbsp; SuperClass subclass: #newclass &nbsp; instanceVariableNames: ''<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
classVariableNames: ''<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
poolDictionaries: ''.<br>
<br>
that's true?&nbsp; it gives to me some errors... it seems that newclass can't&nbsp; receive messages that SuperClass accepts....<br>
<br>
thanks for any advice,<br>
&nbsp; nelson<br>