Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES

Documentation / CalculationCenter / Functions / Defining Functions / Iterators /

Print

FilledSmallSquare Print[, , ... ] prints the , followed by a newline (line feed).

FilledSmallSquare See also: Do, For, While.

Examples

Using InstantCalculators

Here are the InstantCalculators for the Print function. Enter the parameters for your calculation and click Calculate to see the result.

In[1]:=

In[2]:=

Entering Commands Directly

You can paste a template for this command via the Text Input button on the Print Function Controller.

This command iterates i from 1 to 5. The Print function prints the value of i at each iteration.

In[3]:=

Clear the variable definition.

In[4]:=

This command iterates j from 1 to 5. The Print function prints the value of at each iteration.

In[5]:=

Clear the variable definition.

In[6]:=


Do you have questions about this topic? Click here to ask our support staffBuy NowMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: