2009/1/26 Vincent Snijders <vincent.snijd...@gmail.com>: > 2009/1/26, Mattias Gaertner <nc-gaert...@netcologne.de>: >> Maybe you mean >> >> FillChar(recbuffer^,RecSize,' '); >> ? >> > > Or FillChar(recbuffer[1],RecSize,' '); > > if it is a string or [0] if it is a dynarray.
Thanks. I'll put that in. It seemed to work okay as written but I obviously never had the opportunity to check the output. I'll have a go at twisting the code around to see if I can get the calls to the file stream in the same 'try' block. _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus