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

EnterExpressionPacket

EnterExpressionPacket[expr]
is a MathLink packet that requests the evaluation of expr.
  • expr is a Mathematica expression, not a string.
  • expr is evaluated by a complete pass through the Mathematica main loop.
Launch a subsidiary Mathematica kernel process:
Read the first packet:
Write an EnterExpressionPacket packet to the link without evaluating it:
Read the resulting packets:
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 an EnterExpressionPacket packet to the link without evaluating it:
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
New in 3