Legacy Documentation
Mathematica 9 (2012)
This is documentation for Mathematica 9, which was
based on an earlier version of Wolfram Language.
View current documentation (Version 15.0)based on an earlier version of Wolfram Language.
MATHEMATICA GUIDE
Basic Input & Output in Programs
In Mathematica's standard notebook interface, you are directly giving input and getting output every time you press Shift+Enter. Although much more rarely needed than in more primitive languages, Mathematica also allows you to get input and generate output as side effects in a computation.