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

MLPutArgCountMLPutDouble

MLPutByteString()

FilledSmallSquareint MLPutByteString(MLINK link, unsigned char *s, long n) puts a string of n characters starting from location s to the MathLink connection specified by link.

FilledSmallSquare All characters in the string must be specified using character codes as obtained from ToCharacterCode in Mathematica.

FilledSmallSquare Newlines must thus be specified in terms of their raw character codes, rather than using \n.

FilledSmallSquareMLPutByteString() handles only characters with codes less than 256.

FilledSmallSquare It can handle both ordinary ASCII as well as ISO Latin-1 characters.

FilledSmallSquare See The Mathematica Book: Section 2.12.5.

FilledSmallSquare See also: MLPutString, MLPutIntegerList.

MLPutArgCountMLPutDouble