This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / The Mathematica Book / Mathematica Reference Guide / Listing of C Functions in the MathLink Library /


FilledSmallSquare int MLEvaluateString(MLINK link, char *string) sends a string to Mathematica for evaluation, and discards any packets sent in response.

FilledSmallSquare The code for MLEvaluateString() is not included in the MathLink library, but is generated automatically by mcc or mprep in processing MathLink template files.

FilledSmallSquare MLEvaluateString("Print[\"string\"]") will cause string to be printed in a Mathematica session at the other end of the link.

FilledSmallSquare See Section 2.13.3 and Section 2.13.9.