new line

Chris Pressey cpressey@REDACTED
Tue Apr 22 00:29:50 CEST 2003

In the io man page, it says "~n Writes a new line."

How is a new line defined?

Under Windows, when printing to a file, ASCII character 10 is all that
prints for a ~n.  (to the screen it does display a new line.)  This is
also the case for a large term passed to ~p that is printed on multiple

Is this behaviour intentional or incidental?


More information about the erlang-questions mailing list