Hello BP wants type t = record f1 : integer; case tag : integer of 0: (i : integer); 1: (r : real); end; const r : t = (f1:1; tag:1; r:3.14); i.e. ; instead of , (works also with gpc) field names (required in BP; GPC ignores them and issues a warning: GPC bug ...) BP does not control consistency between tag and variant field name: (f1:1; tag:1; i:3) works also !!! In fact the tag is just an other field which has no purpose as a discriminant. ... plus the stupid const instead of var for initialized variable an other use for --borland-pascal ? Hope this helps Maurice -- Maurice Lombardi Laboratoire de Spectrometrie Physique, Universite Joseph Fourier de Grenoble, BP87 38402 Saint Martin d'Heres Cedex FRANCE Tel: 33 (0)4 76 51 47 51 Fax: 33 (0)4 76 51 45 44 mailto:Maurice.Lombardi@ujf-grenoble.fr