On Tuesday 19 September 2006 15: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?
Yes, you do. :) Nevertheless some_type = record case Something : byte of 1: (x,y: word); 2: (z: longword); end; would be the correct Pascal syntax and - surprise, surprise - is accepted by fpc. ;) Vinzent. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal