On 20 sep 2006, at 02:10, Vinzent Höfler wrote:

so I have to use
  record
  Something: byte;
   case byte of
    1: (x,y: word);
    2: (z: longword);
  end;

No, AFAIK you don't have to, it's the same, just a different syntax.

Correct.

Probably you should used a "packed record", though. And it's in no way portable, of course.

Also correct.


Jonas_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to