Doug, this looks like just the thing I need! If this doesn't work out, I'll try implementing my own version of ReadLn like Glenn suggested.
* I hate to be a Delphi spoiler, but Excel or Access can probably do all that out-of-the-box. Try opening it with Excel or Access. David, Excel only handles 65,000 odd rows. Access is just wrong + won't give me all the functionality I require. Thanks everyone for your ideas :-) ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Hale Sent: Saturday, 1 November 2008 4:08 AM To: [email protected] Subject: Re: [delphi-en] Line feed (#10) terminated lines in files Determines the end-of-line and end-of-file conventions for text file I/O. Unit System Category text file routines Delphi syntax: procedure SetLineBreakStyle(var T: Text; Style: TTextLineBreakStyle); Description In Delphi, call SetLineBreakStyle to determine how text file routines find or mark the end of a line and the end of a file. Affected routines include Read, Write, Readln, Writeln, Eof, Eoln, SeekEof, and SeekEoln. T is the text file whose line break style is altered. It must be closed, or SetLineBreakStyle generates a runtime error. Style indicates the style to use. When Style is tlbsLF, end-of-line is marked using only a linefeed character. When Style is tlbsCRLF, end-of-line is marked using a carriage return and linefeed. [Non-text portions of this message have been removed]

