<div>Hello, I want to write a message with a String-argument, </div>
<div>which adds a new method to MyClass: </div>
<div>
<div>---------------------------------------------------------</div></div>
<div>aMethod: 'MyClass' </div>
<div>
<div>--------------------------------------------------------- </div></div>
<div> </div>
<div>This is what I wrote for aMethod: </div>
<div>---------------------------------------------------------</div>
<div>aMethod: myClassWhichExist <br> "comment stating purpose of message"</div>
<div><br> myClassWhichExist compile: 'myMethod<br> "comment stating purpose of message"<br> | h |<br> h:= ''Hello''.<br> ^ h.' classified: 'delete'</div>
<div>
<div>---------------------------------------------------------</div></div>
<div> </div>
<div>I get the following error message:
<div>
<div>---------------------------------------------------------</div></div>
<div>ByteString(Object)>>error:</div>
<div>error: aString <br> "Throw a generic Error exception."<br> ^ Error new signal: aString</div>
<div>
<div>---------------------------------------------------------</div></div></div>
<div> </div>
<div>I understand that the class name 'myClassWichExist' as string-argument doesn't go along with the compile-message. But to what do I need to convert the string-argument to make it work? </div>
<div>Many thanks in advance for your answers.</div>
<div> </div>
<div>Olitizia</div>