PRODUCTS
Mathematica
Mathematica Home Edition
Mathematica for Students
Mathematica for the Classroom
grid
Mathematica
Wolfram Lightweight Grid Manager
web
Mathematica
Mathematica Player
(free download)
Mathematica Player Pro
Wolfram
Workbench
Mathematica
Applications
SOLUTIONS
Industry
Chemical Engineering
Image Processing
Mechanical Engineering
Petroleum Engineering
Environmental Sciences
Bioinformatics
Data Analysis and Mining
Financial Risk Management
Statistics
Software Engineering
More...
Education
Higher Education
Precollege Education
Students
Technology
Interactive Deployment
High-Performance and Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
FOR USERS
All User Resources
Product Registration
Technical Support
Customer Service
Developer Support
Does My Site Have a License?
Free Seminars
Learning Center
Training
Custom Group Seminars
Documentation & Examples
Tutorial Screencasts
Video Gallery
Demonstrations Project
Education Portal
Student Resources
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
Wolfram|Alpha
Demonstrations Project
Wolfram Blog
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Library Archive
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
Mathematica
>
Core Language
>
Procedural Programming
>
Basic Input & Output in Programs
>
Built-in
Mathematica
Symbol
Repetitive Operations
Generating Unstructured Output
Tutorials »
|
PrintTemporary
CellPrint
Message
Monitor
Put
Write
Reap
EvaluationMonitor
StepMonitor
FilePrint
MessageDialog
See Also »
|
Basic Input & Output in Programs
Document Generation
MathLink Packets
Palettes
Procedural Programming
Tuning & Debugging
More About »
Print
Print
[
expr
]
prints
expr
as output.
MORE INFORMATION
In a notebook,
Print
generates a cell with style
"Print"
.
Print
can print any expression, including graphics and dynamic objects.
Print
[
expr
1
,
expr
2
,
...
]
prints
expr
i
concatenated together, effectively using
Row
.
»
With a text-based interface,
Print
ends its output with a single newline (line feed).
You can arrange to have expressions on several lines by using
Column
.
»
Print
sends its output to the channel
$Output
.
Print
uses the format type of
$Output
as its default format type.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Print
x+y
, then print
a+b
:
In[1]:=
Print the first 5 primes:
In[1]:=
Scope
(7)
Generalizations & Extensions
(1)
Applications
(2)
Properties & Relations
(1)
SEE ALSO
PrintTemporary
CellPrint
Message
Monitor
Put
Write
Reap
EvaluationMonitor
StepMonitor
FilePrint
MessageDialog
TUTORIALS
Repetitive Operations
Generating Unstructured Output
MORE ABOUT
Basic Input & Output in Programs
Document Generation
MathLink Packets
Palettes
Procedural Programming
Tuning & Debugging
New in 1 | Last modified in 6