Re: [cc65] A bug?

From: Oliver Schmidt <ol.sc1web.de>
Date: 2008-07-24 12:30:21
Hi,

> It is only that I was very much surprised to learn that \r is
> not portable (one learns throughout the whole life, right?) because I was
> taking the whole \whatever set as granted to be part of the "standard" C and
> therefore portable.

I found http://en.wikipedia.org/wiki/Newline interesting to read -
especially these two aspects:

1. The C spec. requires both '\n' and \r' to exsist and map to
distinct one-char values. However only '\n' has been assigned a
certain semantic. So '\n' and '\r' are _very_ different.

2. The Java spec. defines '\n' and \r' _very_ different from C being
always the Unicode values 000A and 000D.

Best, Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Jul 24 12:30:28 2008

This archive was generated by hypermail 2.1.8 : 2008-07-24 12:30:30 CEST