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.
  • The notebook front end typically evaluates BoxData cell content by sending the kernel an expression such as EnterExpressionPacket[MakeExpression[BoxData[boxes],form]].

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:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_enterexpressionpacket, organization={Wolfram Research}, title={EnterExpressionPacket}, year={1996}, url={https://reference.wolfram.com/language/ref/EnterExpressionPacket.html}, note=[Accessed: 11-November-2024 ]}