Andreas Berger wrote:
> But unfortunately an object is not totally record compatible. It can not
> do this:
>
> foo = object
> a : integer
> case boolean of
> true:{...};
> fasle: {...}
> end;
> procedure b;
> end;You cant do this in a record either (if you replace "proc b" by "b: integer") . You need to define a separate type for the union. Marc _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
