Now, if I do: myV := TMyDerived.Create(False); if myV is TFPGObjectList then ...
it gives: unit1.pas(67,10) Error: Class or Object types "TMyDerived" and "TFPGObjectList" are not related In my opinion they are related. Maybe generics are good only for situations where you don't need to derive classes or test their inheritance. Juha
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal