This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / The Mathematica Book / Reference Guide / Listing of C Functions in the MathLink Library  /

  • intMLEvaluateString(MLINKlink,char*string) sends a string to Mathematica for evaluation, and discards any packets sent in response.
  • The code for MLEvaluateString() is not included in the MathLink library, but is generated automatically by mcc or mprep in processing MathLink template files.
  • MLEvaluateString("Print[\"string\"]) will cause string to be printed in a Mathematica session at the other end of the link.
  • See the Mathematica book: Section 2.12.3Section 2.12.9.