Print automatically generates a newline at the end of the expression that is being printed. How do you suppress this automatic newline?
A solution to this problem is to write strings to the standard output directly. For instance,
WriteString[$Output, "aaa"];
WriteString[$Output, "bbb"];
-
$\begingroup$ It is not what
Print
does if one hasPrintToConsole
settings on. $\endgroup$ – Kuba♦ Jan 8 '18 at 15:18
Print /@ {1, 2, 3};
should generate123
below/in messages notebook? What about prints in future, should they append this123
? $\endgroup$ – Kuba♦ Jan 8 '18 at 13:46