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  /
MLPutString()

  • intMLPutString(MLINKlink,char*s) puts a character string to the MathLink connection specified by link.
  • The character string must be terminated with a null byte, corresponding to \0 in C.
  • A raw backslash in the string must be sent as two characters \\.
  • Special characters can be sent only using the private format returned by MLGetString().
  • See the Mathematica book: Section 2.12.5.
  • See also: MLPutByteStringMLPutByteStringMainBookLinkOldButtonDataMLPutByteString, MLPutUnicodeStringMLPutUnicodeStringMainBookLinkOldButtonDataMLPutUnicodeString, MLPutSymbolMLPutSymbolMainBookLinkOldButtonDataMLPutSymbol.