Item(Index: Integer): INonLinearExplanatory;
Index. Variable index in the collection.
This property is read-only.
The Item method returns a variable from the collection based on its index.
The Item method gives access to a certain variable in the collection. The Index parameter value is to be a non-negative number that is less than the value of the INonLinearExplanatories.Count property. The index of the first variable in the collection is 0, last is INonLinearExplanatories.Count 1. Index numbering is continuous.
Executing this example requires the Explanatories object of the INonLinearExplanatories type.
Sub UserProc;
Var
Explanatories: INonLinearExplanatories;
Begin
If Explanatories.Count > 0 Then
Debug.WriteLine(Explanatories.Item(0).VariableName);
End If;
End Sub UserProc;
After executing this example the console window displays name in the formula for the first item if the collection of the explanatory variables contains elements.
See also: