[fpc-pascal] can inherited simply replace inherited method(param1, param2, param3)?
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Jan 11 18:37:49 CET 2018
On Fri, 12 Jan 2018 00:35:30 +0800
Dennis <dec12 at avidsoft.com.hk> wrote:
> are the 2 below equivalent?
>
> procedure Method(param1, param2 : integer);
> begin
> inherited;
> end;
>
>
>
> procedure Method(param1, param2 : integer);
> begin
> inherited Method(param1, param2);
> end;
Yes.
Mattias
More information about the fpc-pascal
mailing list