[Lazarus] TFileStream

Dave Coventry dgcoventry at gmail.com
Mon Jan 26 21:23:22 CET 2009


2009/1/26 Vincent Snijders <vincent.snijders at gmail.com>:
> 2009/1/26, Mattias Gaertner <nc-gaertnma at 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.



More information about the Lazarus mailing list