Why does readln include the line terminator?
Nick Sabalausky
a at a.a
Tue Apr 14 16:29:57 PDT 2009
"Georg Wrede" <georg.wrede at iki.fi> wrote in message
news:gs2o15$233h$2 at digitalmars.com...
>
> I can see having to use one or another line ending in the whole output
> file, but not a situation where some lines and not some other need this or
> that kind of line ending.
>
Source code with unescaped nl's/cr's embedded in a string literal? Though I
admit that may not be a particularly compelling case for at least a couple
of different reasons. (I do agree with your original point though.)
More information about the Digitalmars-d
mailing list