On Mon, 22 Dec 2008 01:11:38 +0100 Marc Weustink <[email protected]> wrote:
> Dave Coventry wrote: > > Wow. > > > > If I can push a little more: Can I read in an eight-byte IEEE double > > using the same trick? > > The example below is not complete, you need to cast. > > MyDouble:=LEtoN(PDouble(@buffer[5])^); > > Use codejumping (find declaration) on LEtoN to see what variants > exist. AFAIK LEToN does not exist for double. You have to write one. Mattias _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
