ReturnPacket

ReturnPacket[expr]

is a WSTP packet that contains the expression expr, the result of an EvaluatePacket evaluation.

Examples

Basic Examples  (1)

Launch a subsidiary Wolfram Language kernel process:

Read the first packet:

Write the expression 2+2 to the link without evaluating it:

The result is a ReturnPacket expression:

Close the link:

Wolfram Research (1996), ReturnPacket, Wolfram Language function, https://reference.wolfram.com/language/ref/ReturnPacket.html.

Text

Wolfram Research (1996), ReturnPacket, Wolfram Language function, https://reference.wolfram.com/language/ref/ReturnPacket.html.

BibTeX

@misc{reference.wolfram_2021_returnpacket, author="Wolfram Research", title="{ReturnPacket}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/ReturnPacket.html}", note=[Accessed: 17-September-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_returnpacket, organization={Wolfram Research}, title={ReturnPacket}, year={1996}, url={https://reference.wolfram.com/language/ref/ReturnPacket.html}, note=[Accessed: 17-September-2021 ]}

CMS

Wolfram Language. 1996. "ReturnPacket." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ReturnPacket.html.

APA

Wolfram Language. (1996). ReturnPacket. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ReturnPacket.html