The Documentation does not state clear the order of packets returned
by slave kernel via MathLink
. It is natural to suppose that (when
sending an input expression with head EnterExpressionPacket
and working in standard mode):
1) the last packet before the next InputNamePacket
is always
ReturnExpressionPacket
2) there may be always only one ReturnExpressionPacket
and one
OutputNamePacket
for one EnterExpressionPacket
3) ReturnExpressionPacket
is always the next after OutputNamePacket
4) after MessagePacket
the next packet is always TextPacket
with
all contents of that message
5) there are only 7 types of returned packets in the standard mode: InputNamePacket
, OutputNamePacket
, ReturnExpressionPacket
, DisplayPacket
, DisplayEndPacket
,
MessagePacket
, TextPacket
.
Which of these statements are true?