Remove(Index: Integer): Boolean;
Index. Index of a removed variable.
The Remove method removes the variable from the collection by given index.
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.
If removing the object was successful, the method returns True, the INonLinearExplanatories.Count property value is reduced by one; otherwise it returns False.
Executing this example requires the Explanatories object of the INonLinearExplanatories type.
Sub UserProc;
Var
Explanatories: INonLinearExplanatories;
Begin
If Explanatories.Count > 0 Then
Explanatories.Remove(0);
End If;
End Sub UserProc;
After executing this example the first element is removed in the collection of explanatory variables if the collection contains elements.
See also: