[fpc-pascal] method-definition

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Dec 15 23:39:39 CET 2023



On 15.12.23 16:00, Martin Frb via fpc-pascal wrote:
>[...] 
> However, a method can be reintroduced, and be virtual/abstract.
> 
> type
>    TFoo = class
>      procedure Bar; virtual; abstract;
>    end;
> 
>    TFoo2 = class(TFoo)
>      procedure Bar; reintroduce; virtual; abstract;
>    end;

Can that make sense?

Mattias


More information about the fpc-pascal mailing list