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 / Add-ons & Links / MathLink / Mathematica Functions /


FilledSmallSquare LinkRead[link] reads one expression from the specified MathLink connection.

FilledSmallSquare LinkRead[link, h] wraps h around the expression read before evaluating it.

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

FilledSmallSquare LinkRead will wait until it has read a complete expression before returning.

FilledSmallSquare You can test whether an expression is ready to be read from a particular link using LinkReadyQ.

FilledSmallSquare You can use LinkRead[link, Hold] to get an expression from a link without evaluating it.

FilledSmallSquare See Section 2.13.6.

FilledSmallSquare See also: LinkReadyQ, LinkWrite, Read.

FilledSmallSquare New in Version 3.

Further Examples