Am 05.05.2014 11:41 schrieb "Mattias Gaertner" :
>
> On Mon, 5 May 2014 08:05:47 +0200
> Sven Barth wrote:
>
> >[...]
> > "override" is an implicit "virtual" as long as the parameter lists of
both
> > methods are the same.
>
> Huh? If they are not the same, it won't compile.
Yes... I left out tha
On Mon, 5 May 2014 08:05:47 +0200
Sven Barth wrote:
>[...]
> "override" is an implicit "virtual" as long as the parameter lists of both
> methods are the same.
Huh? If they are not the same, it won't compile.
Mattias
___
fpc-pascal maillist - fpc-pa
Am 05.05.2014 05:09 schrieb "Xiangrong Fang" :
>
> Hi All,
>
> Is the property of "virtual" inherited? i.e. if a method in parent class
is virtual, same method in child class is also virtual, right?
>
> TBase = class
> public
> destructor Destroy; override; //<-- is this enough
> destructor Des