Define "much less success". How are you writing the array and how are you reading it?
Hello and thanks for answer. Here how the array is written: var buffer : array of float; .... FileBuffer.Data := TFileStream.Create(filename,fmCreate); FileBuffer.Data.Seek(0, soFromBeginning); FileBuffer.Data.WriteBuffer(buffer[0],Length(Buffer)); The result is OK if integer 16/32 bit inside the buffer. If data inside the buffer is float 32 bit, result is a file of... 2 octets... Thanks. Fre;D ----- Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Adding-a-array-of-float-in-ressource-and-use-it-tp5727765p5727777.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal