Something very strange going on, which used to work!
I have a class with references to it.
myClass.cls
When i do:
LeftClass does NOT get copied. All properties have EMPTY STRINGS!!!
VB Mixing up address pointers or something?
I have a class with references to it.
myClass.cls
Code:
LeftClass(5) = new myClass
RightClass(5) = new myClass
Code:
LeftClass(2) = RightClass(4).Clone
VB Mixing up address pointers or something?
Code:
Public Function Clone() As myClass
'Return a copy of this instance
'Create a blank copy
Set Clone = New myClass
With Clone
.Name = xName
.pID = xID
.Channels = xChannels
End With
End Function