EZ Math Movie, Tutorials, Printing, Printing a New Line

On to the next line

We have seen that the command print places all text on the same
line. The command printNumber works that way, too. If you want
to print something on one line, and then print something else on the next line,
you use the command printNewLine in between two print
commands. So this code:

print('This is the first line.');
printNewLine();
print('This is the second line.');

Produces this output on the printer:

This is the first line.
This is the second line.

Running the example program

If you have been through the previous two tutorials, you probably already understand printNewLine.
Here is one more example showing how it is used.

The example program

OptionsInOutGraphPrintBeforeLoopAfter

0ptionsAngle measurement: DegreesRadians

Go on input

Graph x:[-10, 10], y:[-10, 10]Bounds:

Sorry, apparently this browser does not support HTML 5 canvas tag graphics.