LinkWrite
LinkWrite[link,expr]
writes expr to the specified WSTP connection.
Details
- link must be an active LinkObject, as returned by functions like LinkLaunch or Links.
- You can use LinkWrite[link,Unevaluated[expr]] to write expr to the link without evaluating it.
- The head of expr will often be a packet that specifies how expr should be processed by the program which receives it.
- When LinkWrite is used to send data to a Wolfram Language kernel, EnterTextPacket["string"] enters the text of an input line, and EvaluatePacket[expr] sends an expression for evaluation.
Examples
Wolfram Research (1996), LinkWrite, Wolfram Language function, https://reference.wolfram.com/language/ref/LinkWrite.html.
Text
Wolfram Research (1996), LinkWrite, Wolfram Language function, https://reference.wolfram.com/language/ref/LinkWrite.html.
CMS
Wolfram Language. 1996. "LinkWrite." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LinkWrite.html.
APA
Wolfram Language. (1996). LinkWrite. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LinkWrite.html