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.

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_returnpacket, organization={Wolfram Research}, title={ReturnPacket}, year={1996}, url={https://reference.wolfram.com/language/ref/ReturnPacket.html}, note=[Accessed: 22-December-2024 ]}