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

Documentation / Mathematica / Built-in Functions / System Interface / MathLink /


FilledSmallSquare LinkWrite[link, expr] writes expr to the specified MathLink connection.

FilledSmallSquare link must be an active LinkObject, as returned by functions like LinkLaunch or Links.

FilledSmallSquare You can use LinkWrite[link, Unevaluated[expr]] to write expr to the link without evaluating it.

FilledSmallSquare The head of expr will often be a packet which specifies how expr should be processed by the program which receives it.

FilledSmallSquare When LinkWrite is used to send data to a Mathematica kernel, EnterTextPacket["string"] enters the text of an input line, and EvaluatePacket[expr] sends an expression for evaluation.

FilledSmallSquare See Section 2.13.6.

FilledSmallSquare See also: LinkRead, Write, FrontEndExecute.

FilledSmallSquare New in Version 3.

Further Examples