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

  • intMLPutInteger(MLINKlink,inti) puts the integer i to the MathLink connection specified by link.
  • You can send arbitrary-precision integers to Mathematica by giving lists of digits, then converting them to numbers using FromDigits.
  • See the Mathematica book: Section 2.12.4Section 2.12.12.
  • See also: MLGetIntegerMLGetIntegerMainBookLinkOldButtonDataMLGetInteger, MLPutShortIntegerMLPutShortIntegerMainBookLinkOldButtonDataMLPutShortInteger, MLPutLongIntegerMLPutLongIntegerMainBookLinkOldButtonDataMLPutLongInteger, MLPutIntegerListMLPutIntegerListMainBookLinkOldButtonDataMLPutIntegerList.