Hi!
Just one question
Is it legal to copy the array descriptor in this way :
Dim lngArr1() as Long
Dim lngArr2() as Long
Redim lngArr1(2) as Long
CopyMemory ByVal VarPtrArray(lng Arr2), ByVal VarPtrArray(lng Arr1), 4
Or can you do a shallow-copy of an array in some other way?
/Mikael Lundberg
Just one question
Is it legal to copy the array descriptor in this way :
Dim lngArr1() as Long
Dim lngArr2() as Long
Redim lngArr1(2) as Long
CopyMemory ByVal VarPtrArray(lng Arr2), ByVal VarPtrArray(lng Arr1), 4
Or can you do a shallow-copy of an array in some other way?
/Mikael Lundberg
Comment