Reads and discards all packets from a computation, including the result.
Use this method if you are not interested in the result of a computation. If you are interested in examining the result of the evaluation, use WaitForAnswer instead.
Use this method after sending an expression to evaluate with Evaluate or a manual sequence of Put methods.
ml.Evaluate("Needs[\"Algebra`FiniteFields`\"]"); ml.WaitAndDiscardAnswer();
Exception Type | Condition |
---|---|
MathLinkException | On any MathLink error. |
IKernelLink Interface | Wolfram.NETLink Namespace | WaitForAnswer