Tom wrote:

> I'm trying to read in a text file (I can send to anyone it's only 2K) 
> with the following code:
> [snip]
> The problem is that Readln() reads the whole file as one line.  When I 
> load this file into Textpad it show 13 lines.  What am I missing?

I'd say the file has no CR-LF and you have line wrap enabled in notepad.

Just use a hex editor and check for CR-LF's

Cheers,
-- 
Jean-Francois Nifenecker, Bordeaux
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to