.NET/Link API Version 1.7 USE FRAMES

Expr.Args Property

Gets an array of Exprs representing the arguments of this Expr.

[Visual Basic]
Public ReadOnly Property Args As Expr()
[C#]
public Expr[] Args {get;}

Remarks

For Exprs that have head Rational or Complex, this gives a two-argument array giving the numerator/denominator or re/im parts, repsectively.

A 0-length array is returned if this Expr is a function with zero arguments, or an atomic type (integer, real, string, symbol).

This property can be expensive to call if the Expr represents a large array of integers or reals. Such data is normally held within the Expr in an efficient format, and asking for it to be "unpacked" into many individual Expr objects is costly.

See Also

Expr Class | Wolfram.NETLink Namespace | Head | Part