2014-02-13 5:43 GMT-02:00 Sven Barth <pascaldra...@googlemail.com>: > Am 13.02.2014 01:28, schrieb silvioprog: > >> Hello, >> >> Can I use it: >> >> TBrookAction<TBrookEntity> = class(TBrookObject) >> ... >> >> instead of?: >> >> generic TBrookAction<TBrookEntity> = class(TBrookObject) >> ... >> >> And, can I use it: >> >> TPersonAction = class(TBrookAction<TPerson>) >> ... >> >> instead of?: >> >> TPersonAction = class(specialize TBrookAction<TPerson>) >> ... >> >> This would save typing. >> >> Sorry, I'm beginner in generics. >> >> Currently only in mode Delphi. > > Regards, > Sven
Thank you Sven! -- Silvio Clécio My public projects - github.com/silvioprog
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal