Hi Guys
(My first post so please let me know if I have broken any Rules)
What I am trying to achieve is to copy the contents of one Array (that is based on a Class Module) into another. Then make changes to the results of one of the arrays by user inputs & then be able to compare them to the original to see the changes.
I have set up a Class Module called Cl_Oqe_Top
Then set 2 Arrays: Public ItpInf(1 To 1000) As New Cl_Oqe_Top (the original with dimensions)
Public OqeInf() As New Cl_Oqe_Top (the version which will be a copy, dimensionless)
In my code I have; OqeInf = ItpInf
This copies the contents of ItpInf into OqeInf, but if I make any changes to ItpInf it also changes them in OqeInf.
How can I copy the contents of ItpInf into OqeInf & then when I make changes it doesn't effect both??
(My first post so please let me know if I have broken any Rules)
What I am trying to achieve is to copy the contents of one Array (that is based on a Class Module) into another. Then make changes to the results of one of the arrays by user inputs & then be able to compare them to the original to see the changes.
I have set up a Class Module called Cl_Oqe_Top
Then set 2 Arrays: Public ItpInf(1 To 1000) As New Cl_Oqe_Top (the original with dimensions)
Public OqeInf() As New Cl_Oqe_Top (the version which will be a copy, dimensionless)
In my code I have; OqeInf = ItpInf
This copies the contents of ItpInf into OqeInf, but if I make any changes to ItpInf it also changes them in OqeInf.
How can I copy the contents of ItpInf into OqeInf & then when I make changes it doesn't effect both??