Re: Re[6]: [fpc-pascal] read lines at end of file

2011-05-29 Thread John Lee
Hi Jose, all. I've now (at last!) started using your last4 lines program. Thanks a lot- it works really well and even on a 100M log file it is really really fast - faster than 1 msec, which I didn't believe until I timed it using gettickcount. Also it doesn't generate much disk i/o. Reading the who

Re[6]: [fpc-pascal] read lines at end of file

2011-04-14 Thread José Mejuto
Hello John, Thursday, April 14, 2011, 3:26:48 PM, you wrote: JL> Hi there, thanks for this - looks a very complete function. I hadn't JL> realised that best way would be to use streaming! I'm trying to write a 3 JL> line test program that just gets last 4 lines of a file. JL> I'm not very famili