[Date Index] [Thread Index] [Author Index]
Chain of packets in MathLink: are packets always strictly ordered?
Hello, The Documentation does not state clear the order of packets returned by slave kernel via MathLink. It is natural to assume that (when sending an input expression with head EnterExpressionPacket): 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 always goes after OutputNamePacket 4) after MessagePacket the next packet is always TextPacket with contents of that message. 5) when working in standard mode there may be only 7 types of returned packets: InputNamePacket, OutputNamePacket, ReturnExpressionPacket, DisplayPacket, DisplayEndPacket, MessagePacket, TextPacket. Are these assumptions true?