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