In all my Delphi applications dealing with text files so far, I've continued to use the "old" way of accessing files (Open as text, ReadLn, etc.). The explanation in the manual of the "new" method seemed a little confusing to me, and I guess I was just too lazy to figure it out since I didn't see a benefit to using it.
'Nuff rambling, on to the problem / question: If ReadLn is used on a LF-delimited file (rather than the DOS CRLF convention) it slurps the entire file in as one "line".
Can someone provide me a simple & efficient program sample that will open a file, read a LF-delimited line at a time into a string variable, until EOF is reached? Thanks.