This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Input and Output / Basic Operations  /
Print

  • Print[ , , ... ] prints the , followed by a newline (line feed).
  • Print sends its output to the channel $Output.
  • Print uses OutputForm as the default format type.
  • Print concatenates the output from each together, effectively using SequenceForm.
  • You can arrange to have expressions on several lines by using ColumnForm.
  • See the Mathematica book: Section 1.7.3Section 2.8.18.
  • See also: CellPrint, Message, Put, Write.

    Further Examples

    The output of Print is not a string.

    In[1]:=

    Evaluating this won't make p into a string.

    In[2]:=

    Global`p

    p = Null

    In[3]:=