See >>becomeForward:<br><br>Gulik.<br><br><div class="gmail_quote">On Feb 19, 2008 4:59 PM, itsme213 <<a href="mailto:itsme213@hotmail.com">itsme213@hotmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
#become: apparently (effectively) swaps object ids.<br><br>Is there anything like<br> x oneWayBecome: y<br>that would pass this test:<br><br>testOneWayBecome: x to: y<br> | a b |<br> a := x.<br> b := y.<br> x oneWayBecome: y.<br>
self assert: [x == y].<br> self assert: [a == y].<br> self assert: [b == y].<br><br>(Not related to my earlier collection empty question)<br><br>Thanks - Sophie<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" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://people.squeakfoundation.org/person/mikevdg">http://people.squeakfoundation.org/person/mikevdg</a><br><a href="http://gulik.pbwiki.com/">http://gulik.pbwiki.com/</a>