ReturnTextPacket

ReturnTextPacket[string]

is a WSTP packet containing string, the result of an EnterTextPacket evaluation.

Examples

Basic Examples  (1)

Launch a subsidiary Wolfram Language kernel process:

Read the first packet:

Use EnterTextPacket to write a packet representing the text to enter:

Read the packet representing the output prompt:

The result from the computation is a ReturnTextPacket expression:

Close the link:

Introduced in 1996
 (3.0)