webMathematica > Formatting >

MSPGetPrintOutput

MSPGetPrintOutput[]
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.
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.