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

Documentation / Mathematica / Add-ons & Links / MathLink / Mathematica Functions /

$CurrentLink

FilledSmallSquare $CurrentLink is the LinkObject representing the MathLink connection for an external program currently being installed or being called.

FilledSmallSquare $CurrentLink is temporarily set by Install and by ExternalCall.

FilledSmallSquare You can use $CurrentLink to distinguish between several instances of an external program running at the same time.

FilledSmallSquare $CurrentLink can be included in :Pattern: and :Arguments: MathLink template specifications, and will be evaluated at the time when Install is called.

FilledSmallSquare See Section 2.13.9.

FilledSmallSquare See also: $ParentLink, Links, $Input.

FilledSmallSquare New in Version 3.