EnterTextPacket

EnterTextPacket[string]

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

Examples

Basic Examples  (1)

Launch a subsidiary Wolfram Language kernel process:

In[1]:=
Click for copyable input
Out[1]=

Read the first packet:

In[2]:=
Click for copyable input
Out[2]=

Write an EnterTextPacket packet representing the text to enter:

In[3]:=
Click for copyable input

Read the resulting packets:

In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=

Close the link:

In[6]:=
Click for copyable input

See Also

ReturnTextPacket

Tutorials

Introduced in 1996
(3.0)