EnterTextPacket

EnterTextPacket[string]

is a WSTP packet that requests the parsing and evaluation of string as an expression.

Details

  • string is evaluated by a complete pass through the Wolfram System main loop.
  • The notebook front end uses EnterTextPacket to send TextData cell content to the kernel for evaluation.

Examples

Basic Examples  (1)

Launch a subsidiary Wolfram Language kernel process:

Read the first packet:

Write an EnterTextPacket packet representing the text to enter:

Read the resulting packets:

Close the link:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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