Re: [fpc-pascal] Adding a array of float in ressource and use it ?

2017-03-05 Thread Sven Barth via fpc-pascal
Am 05.03.2017 18:33 schrieb "fredvs" : > > 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 i

Re: [fpc-pascal] Adding a array of float in ressource and use it ?

2017-03-05 Thread fredvs
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. Could it be that TFileStream does accept only integers as data ? If yes, a conversion would be needed ? Something like: ? for x := 0