[fpc-pascal] Replacing line in big text file

Krzysztof dibo20 at wp.pl
Mon Oct 8 15:07:45 CEST 2012


Hi,

I must modify some one line (mostly first line) in big text file (~10
000 lines). Doing this by loading and saving file using TStringList
takes a long time (and amount of RAM). Exists any faster way based on
TextFile type (like Write, WriteLn)?

Regards



More information about the fpc-pascal mailing list