On May 3, 2006, at 11:17 AM, Jason Essington wrote:


On May 3, 2006, at 9:08 AM, [EMAIL PROTECTED] wrote:

On May 03, 2006, at 15:00 UTC, Jason Essington wrote:
You could have any object you plan on storing in the array implement
Cloneable, then you could have a module method ArrayCopy(origArray,
newArray) which clones every object in the old array and adds it to
the new array.

Well, you can't make this method general, since it needs to match the specific type of the array it's going to operate on. The reasons for this take a little thought to see, but they are quite legitimate.


BAH! I forgot, RB doesn't have a proper Object that is the base of all objects :-(

But it does - -sort of -- there is a fake Object class from which almost everything inherits (Variant is an exception).

Charles Yeomans
_______________________________________________
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>

Reply via email to