ReturnTextPacket
ReturnTextPacket[string]
is a WSTP packet containing string, the result of an EnterTextPacket evaluation.
Details
- A single EnterTextPacket may return multiple ReturnTextPacket expressions if string contains multiple valid expressions delimited by newlines.
- An EnterTextPacket might have no corresponding ReturnTextPacket if the expression suppresses its output.
- The final ReturnTextPacket in a given exchange is typically followed by an InputNamePacket.
Examples
Basic Examples (1)
Launch a subsidiary Wolfram Language kernel process:
Use EnterTextPacket to write a packet representing the text to enter:
Read the packet representing the output prompt:
The result from the computation is a ReturnTextPacket expression:
Text
Wolfram Research (1996), ReturnTextPacket, Wolfram Language function, https://reference.wolfram.com/language/ref/ReturnTextPacket.html.
CMS
Wolfram Language. 1996. "ReturnTextPacket." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ReturnTextPacket.html.
APA
Wolfram Language. (1996). ReturnTextPacket. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ReturnTextPacket.html