> It is ugly, produces warnings and is possibly forbidden in FPC 2.1.1 (I don't > know). A more elegant solution would be to have something like 'friend units' > where protected class members are visible:
I wonder what the use of making a private/public/protected distinction is in the first place, if USES'ing units can override it at will. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal