> I don't know. By all logic, it should not work either. Yes, it is I think too.
Some more explanation: I use a "global" buffer of float to store data. Those data can be int16, int32 or float32. For example, If data are integer (16 or 32 bit), I do: bufferfloat[x] := 127.0 ; (for int16) bufferfloat[x] := 2147483646.0; (for int32) If data are float 32 bit, I do: bufferfloat[x] := 0.2147483646 ; (for float32) So it seems to me Sizeof(bufferfloat[x]) is the same in the 3 cases (alway sizeof(float)). Aaargh, sorry, I always come with extreme programming (or extreme dummy) question. 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-tp5727765p5727782.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