[fpc-pascal] Is it posible to implement more than one interface in a class defination?

Graeme Geldenhuys graemeg.lists at gmail.com
Sun Nov 14 14:24:58 CET 2010


On 14 November 2010 14:08, yu ping wrote:
>  For example if there are two Interface : IinterfaceA,IinterfaceB
>  can I implement these two interface in one class?

Yes you can, but be warned, Interfaces doesn't seem to be a high
priority feature in FPC - I don't think many here use Interfaces.
There are still some very strange things or missing features in FPC's
implementation. Even though Interfaces are an extremely handy language
feature in Delphi and often used, just be careful under FPC.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net:8080/fpgui/



More information about the fpc-pascal mailing list