return the text of all print statements evaluated by the current kernel


  • MSPGetPrintOutput gives a way to obtain the output of all print statements that have been processed by the current kernel. It returns a list of strings, where each string contains the formatted contents of the message.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

This function cannot be demonstrated in a normal evaluation; it must be part of a running server. The example Messages.jsp demonstrates the use of MSPGetMessages.

New to Mathematica? Find your learning path »
Have a question? Ask support »