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:

Introduced in 1996
 (3.0)