InputStringPacket

InputStringPacket[]
is a MathLink packet that requests input in string form.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Launch a subsidiary Mathematica kernel process:

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

Read the first packet:

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

Write the packet representing the text to enter:

In[3]:=
Click for copyable input

Read the InputStringPacket expression indicating a prompt for input:

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

Close the link:

In[5]:=
Click for copyable input
New in 3
New to Mathematica? Find your learning path »
Have a question? Ask support »