The C spec requires that "\n", regardless of its in-memory representation, maps on I/O to whatever the normal end-of-line convention is on the platform. On the Commodore, at least, that's clearly a bare carriage return. On the Atari, it should proably come out as chr$(155) (IIRC). The C spec further requires that "\n" and "\r" have different representations in memory, such that '\n' == '\r' is never true. However, it does not require '\r' to have any particular effect when output. That's up to the output device. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Wed Mar 5 18:44:08 2008
This archive was generated by hypermail 2.1.8 : 2008-03-05 18:44:12 CET