|
From: Christian C. <chc...@cl...> - 2001-08-12 06:18:27
|
Berend de Boer a =E9crit : >=20 > Christian Couder <chc...@cl...> writes: >=20 > > I think that %N and %R are C like stuff that should not be used in hi= gh > > level programming. They are also very disturbing because you don't kn= ow > > if your program will be portable to Windows or other platforms if you > > use an hardcoded "%N". >=20 > You perfectly know that it will work. In C you only have to use %N. > > All other stuff discussed here is because VE is a native code compiler > that treats a %N as just a %N. And BM hasn't specified it. All other > compilers use ANSI C, so a %N works just very, very fine. And what about compiler to jvm ?=20 And what about when reading characters ? Also if you want to write portable Eiffel code, you should not have to know how each compiler works and you should not have to know if something works in C. And in my opinion it's very disturbing that "%N" could well mean "%R%N" sometimes. "%N" should always have the same meaning that is just a "%N". Regards, Christian. |