[fpc-pascal] Writing floating points to steams

Michael Schnell mschnell at lumino.de
Tue Jan 12 14:22:11 CET 2016


On 01/12/2016 01:40 PM, Torsten Bonde Christiansen wrote:
>
> But out of curiosity is there a reason why there are not floating 
> point Read/Write methods for TStream (and decendants)?
>

As

   procedure TStream.WriteQWord(q: QWord);
     begin
       WriteBuffer(q,8);
     end;

it's rather easy to do your own TStream.WriteDateTime procedure and friends.

-Michael




More information about the fpc-pascal mailing list