.NET/Link API Version 1.5 USE FRAMES

Expr Constructor (ExpressionType, String)

Creates an Expr representing a Mathematica Integer, Real, String, or Symbol whose value is given by the supplied string (for example "2", "3.14", "Plus", or "True").

[Visual Basic]
Overloads Public Sub New( _
   ByVal type As ExpressionType, _
   ByVal val As String _
)
[C#]
public Expr(
   ExpressionType type,
   string val
);

Parameters

type
The type of Expr to create.
val
The Expr's value.

Remarks

Creates only the following types: ExpressionType.Integer, ExpressionType.Real, ExpressionType.String, ExpressionType.Symbol, ExpressionType.Boolean.

Exceptions

Exception Type Condition
ArgumentException If an unsupported type is specified.

See Also

Expr Class | Wolfram.NETLink Namespace | Expr Constructor Overload List