<<Anders Schack Petersen:
IDesc1+2+3 all has IBase as their parent interface. They
will each do one of the following things with the Calculate
function:
1) Not implement it all and just let IBase return the
value.
*No* interfaces ever implement anything: your question
makes no sense, sorry. Objects implement interfaces, in
whatever way they like. If your interface looks like this:
IMYIntf = interface(IUnknown)
procedure Paint;
end;
all that that interface requires is that an implementing
object should have a Paint method. You could have any
number of objects that implement it in many different ways
- you might put code to format the hard disc in an
implementing object's Paint method, if you wanted. If you
have another interface,
IMYChildIntf = interface(IMYIntf)
procedure Draw;
end;
all that that interface requires is that an implementing
object should have a Paint method and a Draw method - it
doesn't care what they do. Implementation is up to your
implementing objects, which can use all the usual
techniques of inheritance, containment, aggregation, etc.
--
Deborah Pate (TeamB) http://delphi-jedi.org
Use Borland servers; TeamB don't see posts via ISPs
http://www.borland.com/newsgroups/genl_faqs.html