EnterExpressionPacket

EnterExpressionPacket[expr]

is a WSTP packet that requests the evaluation of expr.

Details

  • expr is a Wolfram Language expression, not a string.
  • expr is evaluated by a complete pass through the Wolfram System main loop.

Examples

Basic Examples  (1)

Launch a subsidiary Wolfram Language kernel process:

Read the first packet:

Write an EnterExpressionPacket packet to the link without evaluating it:

Read the resulting packets:

Close the link:

Introduced in 1996
 (3.0)