You can&#39;t. You can, however, create a String representation:<div><br></div><div>StringMorph contents: &#39;Text Stuff here:&#39; , aSmallInteger asString.<br><br><div class="gmail_quote">On Mon, Dec 6, 2010 at 9:31 PM, awood969 <span dir="ltr">&lt;<a href="mailto:contact@awood969.com">contact@awood969.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Hi guys,<br>
<br>
I am wondering how you can pull different datatypes into a string, for<br>
example im trying to do the following with a StringMorph;<br>
<br>
StringMorph contents: &#39;Text Stuff Here: &#39; + SmallInteger asString<br>
<br>
Hard to explain myself but in PHP it would be;<br>
<br>
$finalvalue = &quot;Player: &quot; + $myint;<br>
<br>
and in C would be<br>
<br>
cout &lt;&lt; &quot;Player: &quot; &lt;&lt; myint &lt;&lt; endl;<br>
<br>
Thanks!<br>
Andrew<br>
<font color="#888888">--<br>
View this message in context: <a href="http://forum.world.st/Stringing-a-string-together-tp3075262p3075262.html" target="_blank">http://forum.world.st/Stringing-a-string-together-tp3075262p3075262.html</a><br>
Sent from the Squeak - Beginners mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</font></blockquote></div><br></div>