Why does readln include the line terminator?

Georg Wrede georg.wrede at iki.fi
Tue Apr 14 12:26:29 PDT 2009


Andrei Alexandrescu wrote:
> Georg Wrede wrote:
>> In 25 years of computing, I have yet to see a file where variation of 
>> line termintators in the file contained some /deliberate/ information.
> 
> 25 years and no networking code?

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.




More information about the Digitalmars-d mailing list