INonLinearExplanatories.Remove

Syntax

Remove(Index: Integer): Boolean;

Parameters

Index. Index of removed variable.

Description

The Remove method removes the variable from the collection by its index.

Comments

The Index parameter value must 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, the last is INonLinearExplanatories.Count - 1. Index numbering is continuous.

If the object is successfully removed, the method returns True, the INonLinearExplanatories.Count property value is reduced by one; otherwise it returns False.

Example

Executing the 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 the example the first element is removed in the collection of explanatory variables if the collection contains elements.

See also:

INonLinearExplanatories