[fpc-pascal] Adding a array of float in ressource and use it ?
Sven Barth
pascaldragon at googlemail.com
Sun Mar 5 22:25:43 CET 2017
Am 05.03.2017 18:33 schrieb "fredvs" <fiens at hotmail.com>:
>
> Hello.
>
> I have saved the buffer into file with a TFileStream.
>
> With lot of success for array of cint16 and cint32.
>
> But for array of cfloat --> much less success.
Define "much less success". How are you writing the array and how are you
reading it?
> Could it be that TFileStream does accept only integers as data ?
> If yes, a conversion would be needed ?
One can write and read any blob of data with the stream classes if one
knows what one is doing.
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170305/7459507c/attachment.html>
More information about the fpc-pascal
mailing list