var MyObject: TAncestor;
This is the problem.
it compiles correctly in Delphi (5 and 7)
Are you sure? It fails on my Delphi 7. -Bee- has Bee.ography at: http://beeography.wordpress.com _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal