On Wed, Jun 4, 2008 at 3:55 AM, Norbert Hartl <<a href="mailto:norbert@hartl.name">norbert@hartl.name</a>> 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;">
<div><div></div><div class="Wj3C7c"><br>
</div></div>The objects are still referenced in the collection you get<br>
from self selected. The line with "each := nil" is useless<br>
as each is only a temporary variable. I assume that you want<br>
to empty the selected collection as well. you could do<br>
<br>
DataManager>>deleteSelectedAbstractors<br>
self selected copy do: [:each |<br>
self abstractors remove: each.<br>
self selected remove: each.<br>
]</blockquote><div><br>So...why would I use a copy (self selected copy) in this case? Is that a clue to my misunderstanding?<br><br>Rob<br></div></div><br>