Am 30.07.2017 08:21 schrieb "Bo Berglund" :
> 3) Change the BlockWrite command from
> BlockWrite(F, Buffer[1], Length(Buffer));
> to
> BlockWrite(F, Buffer, Length(Buffer));
>
> Note that I would like to *not* specify the index of the first element
> of the array so that the same code can work for
I am converting older code to move from AnsiString to TBytes as
non-text data container. While doing it I am using conditionals so I
don't destroy the working code until I have verified that the TBytes
usage is OK.
Now I have encountered use of BlockWrite where I would like to do the
following:
1