Hi,

On Fri, Oct 23, 2009 at 11:58 AM, Graeme Geldenhuys
<graemeg.li...@gmail.com> wrote:
> where AOut is the TFileStream.  But if I view the output file, it
> "mostly" looks like text. Except that on each line in starts with some
> random 2-3 characters.
>

Could it be that the length indicator bytes of the string are written
to the stream?


> Maybe TFileStream is not suited for plain text output, and I should
> rather use the File type instead?
>

Did you try writing with WriteBuffer(Atext[1], length(AText)?

Regards,

Gerard
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to