.NET/Link API Version 1.7 USE FRAMES

IKernelLink.EvaluateToOutputForm Method

Sends code for evaluation and returns the result as a string formatted in Mathematica OutputForm.

Overload List

Sends the code to evaluate as a string.

string EvaluateToOutputForm(string,int);

Sends the code to evaluate as an Expr.

string EvaluateToOutputForm(Expr,int);


This method sends the evaluation and waits for the result to come back as a string. It discards any packets other than the result (for example, Mathematica messages or Print output).

The string will have newlines in the Windows CR/LF format.

It does not throw a MathLinkException. Instead it returns null if there was an error. You can use the LastError property to see the MathLinkException that was generated.

See Also

IKernelLink Interface | Wolfram.NETLink Namespace | LastError