PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → COM Array ?
COM Array ?
Started by twiga, Sep., 13 2005 12:49 AM - No answer
Posted on September, 13 2005 - 12:49 AM
I am using a 3rd party COM DLL from Windev 9.
Windev statements such as these work fine:
gTSARIMASpec:D = goEM>>Arima>>DOrder
gTSARIMASpec:AR = goEM>>Arima>>AROrder
AROrder etc are properties. Arima is a dynamic automation object.
But then some objects can only be retreived by an array:
The below does not work :
x = goEM>>Arima>>ARParam[1]>>Value
OR
x = goEM>>Arima>>ARParam(1)>>Value
OR
x = goEM>>Arima>>ARParam>>1>>Value

where each ARParam(i) is also an automation object with further properties such as "Value" that I need to access.
This is the documentation of ARParam() class:
COM : [propget] AROrder as short, returns the size of the polynomial
[ propget] ARParam(i) as DataEstimation returns each parameter estimation
Returns:
a 0, 1, 2 or 3-sized DataEstimation array.
The "DataEstimation" Class has several properties one of which is "Value"
Any tricks to access in Windev 9 an element of an array of objects?
x = goEM>>Arima>>ARParam[1]>>Value ?
Thanks in advance