On Wed, Jun 4, 2008 at 9:41 AM, Klaus D. Witzel &lt;<a href="mailto:klaus.witzel@cobss.com">klaus.witzel@cobss.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What you want to see (according to your question about object removal) is just the empty array; and what I wanted to point out (without hair-splitting ;) is, that when you GC+check this within the same method, it *must* fail.</blockquote>
<div><br>I guess it would have to, wouldn&#39;t it?<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">In Smalltalk it&#39;s very easy to script the removal+GC+check, for example in a workspace or add GC+check temporarily in a debugger session; that was my concern.</blockquote>
<div>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">A good example for maintaining parent/child objects, which works perfectly, is Smalltalk&#39;s #addSubclass: #removeSubclass: (both on the instance side of Class); when you check these two methods think that &#39;superclass&#39; is your parent pointer.</blockquote>
</div><br>Thanks for pointing this out--maybe I can learn something and get this working properly!<br><br>Rob<br>