In our previous episode, Bart said: > > Yes. The code with Tfoo and TBar above also shouldn't not compile, at least > > not in Delphi mode. > > The double negative is intended here?
No. So Delphi refuses when TFoo and TBar are declared at the top. IMHO rightfully so. Both Delphi and FPC also refuse the alternate forward declaration with inhertiance ( TBar=Class(TFoo); ), that would at least declare before use of the relation. I don't know what the motivation is for refusing that. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal