.NET/Link API Version 1.4 USE FRAMES

Expr.Delete Method

Returns a new Expr that has the same head but the nth element deleted (counted from the end if n is negative). Works like the Mathematica function Delete.

[Visual Basic]
Public Function Delete( _
ByVal n As Integer _
) As Expr
[C#]
public Expr Delete(
int n
);

Parameters

n
The index of the element to delete (counted from the end if n is negative).

Return Value

The shortened Expr.

Exceptions

Exception Type Condition
ArgumentException If n is beyond the bounds of the expression.

See Also

Expr Class | Wolfram.NETLink Namespace