Hi there
Im trying for quite some time now to set the array in the 2nd dimention of a 2D-array to the result of a function which returns an array of dbl but i just can't get it to work.
The result of the Interpolate-function has the same length as mintSpan.
Any suggestions or comments are welcome... Thanks in advance
Im trying for quite some time now to set the array in the 2nd dimention of a 2D-array to the result of a function which returns an array of dbl but i just can't get it to work.
The result of the Interpolate-function has the same length as mintSpan.
Any suggestions or comments are welcome... Thanks in advance
Code:
ReDim dblProductionRate(1 To 5, 1 To mintSpan)
For intHC = 1 To 5
If CheckHC(intHC) And Owner.CheckHC(intHC) Then
dblProductionRate(intHC) = InterpolateProductionProfile(intHC, mdblReserves(intHC), GetProfiles(intHC))