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 familiar with obj pascal or streaming. What vars & uses JL> clauses do I need to call your function? JL> this is what I have - I still gets some error messages, missing tfilestream, JL> tfilelist. Just only "Classes". You can do the same using regular pascal files but to me TStream is more clear. -- Best regards, José _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal