WSPutInteger()

int WSPutInteger(WSLINK link,int i)

puts the integer i to the WSTP connection specified by link.

Details

  • You can send arbitraryprecision integers to the Wolfram Language by giving lists of digits, then converting them to numbers using FromDigits.
  • WSPutInteger() is equivalent to WSPutInteger32().

See Also

WSGetInteger()  WSPutShortInteger()  WSPutLongInteger()  WSPutIntegerList()

Tutorials