Hello,
I have (what I believe is) a simple syntax issue wrt returning user-defined object arrays:
Say I have a class clsGx that I am implementing as an array Gx(maxIndices):
And say, after population, I want to pass it to a function that returns another array of clsGx instances (Gx2(maxIndices))as follows
Set Gx2 = exch(Gx)
With exch being defined as follows:
Private Fuction exch(Gx() As clsGx) as clsGx
...
End Function
Currently, I am receiving a compile errors including can't assign to array. Any suggestions?


Reply With Quote


Bookmarks