Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.pascal.delphi.misc > #141

Re: How to call class method by reference?

From Hans-Peter Diettrich <DrDiettrich1@aol.com>
Newsgroups alt.comp.lang.borland-delphi, comp.lang.pascal.delphi.misc, alt.lang.delphi
Subject Re: How to call class method by reference?
Date 2011-12-28 06:33 +0100
Message-ID <9lvpipFdjfU1@mid.individual.net> (permalink)
References <4efa3528$0$1191$65785112@news.neostrada.pl>

Cross-posted to 3 groups.

Show all headers | View raw


aaaa schrieb:

> 2) The animals do not have a common base class, so I cannot do something 
> like:
> 
> type TAnimalClass = class of TAnimal;

Then use interfaces.

type TDog = class(TInterfacedObject, IAnimal)

DoDi

Back to comp.lang.pascal.delphi.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to call class method by reference? "aaaa" <aaaa@aaaaaaaaaaaaaaaaaaa.com> - 2011-12-27 22:14 +0100
  Re: How to call class method by reference? Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> - 2011-12-27 21:50 -0500
    Re: How to call class method by reference? "aaaa" <aaaa@aaaaaaaaaaaaaaaaaaa.com> - 2011-12-28 12:42 +0100
  Re: How to call class method by reference? Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> - 2011-12-27 21:56 -0500
    Re: How to call class method by reference? "aaaa" <aaaa@aaaaaaaaaaaaaaaaaaa.com> - 2011-12-28 12:41 +0100
  Re: How to call class method by reference? Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2011-12-28 06:33 +0100
    Re: How to call class method by reference? "aaaa" <aaaa@aaaaaaaaaaaaaaaaaaa.com> - 2011-12-28 12:26 +0100
      Re: How to call class method by reference? "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2011-12-28 13:33 +0100
      Re: How to call class method by reference? Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2011-12-28 15:47 +0100
        Re: How to call class method by reference? "aaaa" <aaaa@aaaaaaaaaaaaaaaaaaa.com> - 2011-12-28 18:31 +0100
  Re: How to call class method by reference? "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2011-12-28 13:29 +0100
    Re: How to call class method by reference? "aaaa" <aaaa@aaaaaaaaaaaaaaaaaaa.com> - 2011-12-28 14:31 +0100
  Re: How to call class method by reference? "Skybuck Flying" <Windows7IsOK@DreamPC2006.com> - 2011-12-29 09:02 +0100

csiph-web