On 8 Oct 12, at 18:43, Krzysztof wrote:
> Thanks Tomas, I'll look at your example
Well, the provided URL contains just my unit, not the example for
using it. I'll send you the example privately off list.
Tomas
___
fpc-pascal maillist - fpc-pascal@l
Thanks Tomas, I'll look at your example
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Mon, October 8, 2012 17:00, Guionardo Furlan wrote:
> 2012/10/8 Krzysztof :
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
If the line lenght has the same size, you can use a simple file of
char to locate initial and ending offsets of the line and directly
edit chars. I think this is the fastest way.
2012/10/8 Krzysztof :
> Hi,
>
> I must modify some one line (mostly first line) in big text file (~10
> 000 lines). Doi
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