1 Reply Latest reply on Jun 21, 2007 8:07 PM by doug777

    Cloning Array Collections

    doug777 Level 1
      AC1 contains 20 arrays. AC2 = AC1. Changing an array in AC1, changes the array in AC2 as well.

      I want to add arrays to the beginning or end (or both) of AC2 without changing AC1.
      So instead of AC2 = AC1, AC2 = clone(AC1) (using the clone function in the Docs).
      But this disconnects the underlying arrays as well as the Collections.

      Is there a way to change AC2 without changing AC1, yet still allow a change in an array in AC1 to also change the same array in AC2, no matter where it is now located in AC2?

      Doug