I'm having trouble getting array data from an object. I have a feeling it relates to my array declaration or the initial values.
The error I'm getting is Type Mismatch.
The function I'm calling is:
Sub GetPrices(WordenNum As Long, OpenPrices() As Single, HighPrices() As Single, LowPrices() As Single, ClosePrices() As Single, Volumes() As Long, Dates() As Long, NumberOfPricesToGet As Long)
After defining each array like this:
LOCAL ARRAY Volumes[5]
STORE "X" TO Volumes
And then calling like this:
mbhtemp1=otc.GetPrices(9996, @OpenPrices, @HighPrices, @LowPrices, @ClosePrices, @Volumes, @Dates, lcNoOfPrices)
I have tried using COMARRAY() with different values, but same result.
Any hints?
TIA
Kogo Michael Hogan
"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?
Ideate Web Site