This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

InputPacket

InputPacket
is a MathLink packet that indicates a prompt for input as generated by Input.
Launch a subsidiary Mathematica kernel process:
Read the first packet:
Write the packet representing the text to enter:
Read the InputPacket expression indicating a prompt for input:
Close the link:
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 InputPacket 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