Hi,<br>
<br>
try with:&nbsp; Smalltalk hasClassNamed: 'text'<br>
<br>
Juan M.<br><br><div><span class="gmail_quote">On 11/9/05, <b class="gmail_sendername">Marcus Pedersén</b> &lt;<a href="mailto:marcus.pedersen@comhem.se">marcus.pedersen@comhem.se</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<div><font face="Arial" size="2">Hi!</font></div>
<div><font face="Arial" size="2">I want to evaluate if a class already exists but I 
can not figure out how to do it.</font></div>
<div><font face="Arial" size="2">I get a string from a textfield in a GUI and wants 
to send a reply back (CustomMeny) telling the user if a class exists with that 
name.</font></div>
<div><font face="Arial" size="2">I have been looking around in Object and Class 
classes for a&nbsp;method&nbsp;but I can not find anything that 
works.</font>&nbsp;</div>
<div><font face="Arial" size="2">What Im looking for:</font></div>
<div><font face="Arial" size="2">| myString |</font></div>
<div><font face="Arial" size="2">myString := 'text'.</font></div>
<div><font face="Arial" size="2">myString &quot;isAClass&quot; ( or something like that, that 
returns true if there already is a class called 'text').</font></div>
<div><font face="Arial" size="2">Many thanks in advance!</font></div><span class="sg">
<div><font face="Arial" size="2">Marcus</font></div>

</span><br><br><br><br></blockquote></div><br>