At 10:25 PM +0100 2/5/06, Mark O'Neill wrote:
On 2 May 2006, at 22:21, Mark O'Neill wrote:
Well, I wasn't sure of this myself, and I've tried it that way
previously. Either way it doesn't make a difference, for some
bizarre reason.
Hi Norman / Joe,
I wonder if it doesn't work in the way that Navdeep suggested
because each array contains a reference to a class, and so in
essence when I do:
for i as integer = 0 to Count
MyCancelArray(i) = MyActualArray(i)
next
I'm still only copying references to the class that's inside the
array? Do I need to get elbow deep and actually extract each element
from within the array and copy them that way instead of the above
method?
Yes, you will need to deep clone the entire structure.
--
Cheers,
Dr Gerard Hammond
Bioinformatic Analyst
Garvan Institute of Medical Research, Sydney, Australia.
If you're not part of the solution, you're part of the precipitate.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>