2

In the answer to this question, one explains how to use a function

PrintToConsole[...]

to print output to the console. My question: can you make a global definition that will automatically print all output to the message box, without having to wrap PrintToConsole around a specific line of code?

Thank you

Latrace
  • 119
  • 5

1 Answers1

4

You can use

$PrePrint = PrintToConsole

which will have this effect. You can read more about this and other alternatives here.

C. E.
  • 70,533
  • 6
  • 140
  • 264