Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-13 Thread Zaher Dirkey
On Tue, Apr 12, 2011 at 11:42 AM, wrote: > > > On Tue, 12 Apr 2011, Andreas Dorn wrote: > > On Fri, 8 Apr 2011,michael.vancanneyt worte: >> >>> The whole idea of interfaces is to avoid multiple inheritance. >>> >>> Hm. I don't believe that. >> >> One of the major points of interfaces is indeed

Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-12 Thread michael . vancanneyt
On Tue, 12 Apr 2011, Andreas Dorn wrote: On Fri, 8 Apr 2011,michael.vancanneyt worte: The whole idea of interfaces is to avoid multiple inheritance. Hm. I don't believe that. One of the major points of interfaces is indeed to avoid the problems of multiple class inheritance (diamond proble

Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-12 Thread Andreas Dorn
On Fri, 8 Apr 2011,michael.vancanneyt worte: The whole idea of interfaces is to avoid multiple inheritance. Hm. I don't believe that. One of the major points of interfaces is indeed to avoid the problems of multiple class inheritance (diamond problems - i.e. problems caused by conflicting impl

Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-09 Thread Flávio Etrusco
On Fri, Apr 8, 2011 at 6:16 AM, wrote: > > > On Fri, 8 Apr 2011, Zaher Dirkey wrote: > >> 2011/4/7 Flávio Etrusco >> >>> On Wed, Apr 6, 2011 at 1:37 PM, Zaher Dirkey wrote: Can i do that? type  IIntf3 = interface(IIntf11, IIntf2)  end; Thanks in adva

Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-08 Thread michael . vancanneyt
On Fri, 8 Apr 2011, Zaher Dirkey wrote: 2011/4/7 Flávio Etrusco On Wed, Apr 6, 2011 at 1:37 PM, Zaher Dirkey wrote: Can i do that? type IIntf3 = interface(IIntf11, IIntf2) end; Thanks in advance. -- Zaher Dirkey For Corba interfaces, yes. Not for COM interfaces. http://www.fr

Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-08 Thread Zaher Dirkey
2011/4/7 Flávio Etrusco > On Wed, Apr 6, 2011 at 1:37 PM, Zaher Dirkey wrote: > > Can i do that? > > type > > IIntf3 = interface(IIntf11, IIntf2) > > > > end; > > > > Thanks in advance. > > -- > > Zaher Dirkey > > > > For Corba interfaces, yes. Not for COM interfaces. > http://www.freep

Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-07 Thread Flávio Etrusco
On Wed, Apr 6, 2011 at 1:37 PM, Zaher Dirkey wrote: > Can i do that? > type >   IIntf3 = interface(IIntf11, IIntf2) > >   end; > > Thanks in advance. > -- > Zaher Dirkey > For Corba interfaces, yes. Not for COM interfaces. http://www.freepascal.org/docs-html/ref/refse39.html -Flávio ___

Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-06 Thread Juha (gmail)
Zaher Dirkey kirjoitti keskiviikko, 6. huhtikuuta 2011 19:37:04: > Can i do that? > type > IIntf3 = interface(IIntf11, IIntf2) > > end; No but you can do: type MyClass = class(IIntf11, IIntf2) end; Juha ___ fpc-pascal maillist - f