07-15-2010 09:28 PM
Add an Array Size function after the delete and see this discussion.
07-15-2010 10:36 PM - edited 07-15-2010 10:38 PM
Cool, but is that intended functionality of "delete". It seem a bit odd that memory would still be allocated even though I just did a delete. I wonder if the programmer intends to really have the last delete deallocate if it would be a good idea to take the product of the size array and if it's zero, select in an empty array.
Ankita seemed to think it was odd behavior but never followed up.
07-15-2010 10:54 PM
Who's Ankita? No one of that name in the post I linked.
That is how the function is documented. Perhaps the behavior was unintentional and the documentation made to fit the actual behavior. I really don't know. Might try the Idea Exchange and see if R&D responds.
07-16-2010 12:14 AM
@Dennis Knutson wrote:
Who's Ankita? No one of that name in the post I linked.
Reply 2 of this thread.