[simpits-tech] OT: Delphi Record problems

Roy Coates simpits-tech@simpits.org
Wed, 25 Dec 2002 00:22:44 +0000 (GMT)


On Sat, 21 Dec 2002, Stig Joergensen wrote:

> Thanks Erwin
>
> I was thinking of this also - but that produces a new problem.... can
> not load the file directly, but only one item at a time....
>

This is similar to the problem of reading a byte stream of UDP from
X-Plane and I get around that by 'overlaying' integers or reals on top of
the char array holding the data.

eg:-

var
  buffer : array[1..3] of char;
  myint  : integer absolute buffer;


Roy.