On 19 sep 2006, at 17:21, Пётр Косаревский wrote:

Do I get it right, that a construction like
    record
    Something: byte;
     case Something of
      1: (x,y: word);
      2: (z: longword);
    end;
Is impossible in FPC?

You have to write

    record
     case Something: byte of
      1: (x,y: word);
      2: (z: longword);
    end;


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

Reply via email to