So, I take it that clone is a &quot;stupider&quot; (no postCopy polymorphism) version of copy (or shallowCopy). Is that right, or does it do something odd?<br><br><div class="gmail_quote">On Jan 15, 2008 5:38 PM, Randal L. Schwartz &lt;
<a href="mailto:merlyn@stonehenge.com">merlyn@stonehenge.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt;&gt;&gt;&gt;&gt; &quot;Jakub&quot; == Jakub &nbsp;&lt;
<a href="mailto:seasidebeginner@gmail.com">seasidebeginner@gmail.com</a>&gt; writes:<br><br>Jakub&gt; yeah a, b instance of same class and i want copy all instance variables<br>Jakub&gt; values to a i want do a := b but i dont want to a is same object as b. In
<br>Jakub&gt; memory will be two objects a, b with same values .. but if i change a i dont<br>Jakub&gt; change b.<br><br>b := a copy.<br><br>but you might also want to look at #deepCopy.<br><font color="#888888"><br>--<br>
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095<br>&lt;<a href="mailto:merlyn@stonehenge.com">merlyn@stonehenge.com</a>&gt; &lt;URL:<a href="http://www.stonehenge.com/merlyn/" target="_blank">http://www.stonehenge.com/merlyn/
</a>&gt;<br>Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.<br>See <a href="http://PerlTraining.Stonehenge.com" target="_blank">PerlTraining.Stonehenge.com</a> for onsite and open-enrollment Perl training!
<br></font><div><div></div><div class="Wj3C7c">_______________________________________________<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></div></div></blockquote></div><br>