yeah a, b instance of same class and i want copy all instance variables values to a i want do a := b but i dont want to a is same object as b. In memory will be two objects a, b with same values .. but if i change a i dont change b.
<br><br>regards<br><br><div><span class="gmail_quote">2008/1/15, Mathieu Suen &lt;<a href="mailto:mathk.sue@gmail.com">mathk.sue@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Jakub<br><br>I don&#39;t really understand your question.<br>What is a and b? Are they instance of the same class?<br><br>On Jan 14, 2008, at 10:42 PM, Jakub wrote:<br><br>&gt; hello,<br>&gt;<br>&gt; i want do i want set var a as all instance vars of b. Something s
<br>&gt; clone - coppy of one object. I look for clone command in SBE book<br>&gt; but i found nothing.<br>&gt;<br>&gt; Thnx.<br>&gt;<br>&gt; --<br>&gt; Jakub. _______________________________________________<br>&gt; Beginners mailing list
<br>&gt; <a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners
</a><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mth<br><br><br><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">
http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br></blockquote></div><br><br clear="all"><br>-- <br>Jakub.