[fpc-pascal]Any plans for multiple inheritence?

Jon Sawyer bq at badquanta.net
Mon May 5 21:10:06 CEST 2003


> Fpc is going to support interfaces as in Delphi. (I think they're
> already supported in the 1.1 version.) Interfaces turn out to be a
> convenient alternative to multiple inheritance. Modern object oriented
> languages (Delphi, Java, C#), support interfaces instead of multiple
> inheritance. There are several reasons for this, most of them you'll
> realise if you start learning C++ :). (What happens if, say B and C are
> classes that inherit from A, and D inherits both B and C, then D shoud
> have 2 copies of A... multiple inheritence is such a joy :) )

Where can I find information asto how to use Interfaces?  The concept sounds 
VERY intresting to me.  Is there any documentation?

Thank you.  BQ.



More information about the fpc-pascal mailing list