Macaulay2 » Documentation
Packages » Macaulay2Doc :: endl
next | previous | forward | backward | up | index | toc

endl -- end an output line


f << endl -- ends the line currently being put out to the file f.

It is an essential portable programming practice to use endl always, for writing newline characters (see newline) to a file will not terminate a line containing nets properly, and it will not flush the output buffer.

Ways to use endl :

For the programmer

The object endl is a manipulator.