Re: [fpc-pascal] can inherited simply replace inherited method(param1, param2, param3)?

2018-01-11 Thread Graeme Geldenhuys
On 2018-01-11 16:35, Dennis wrote: are the 2 below equivalent? Yes they are. Lazarus IDE auto implements the later, and Delphi IDE the first. What is again annoying about Delphi IDE is that it chooses to generate "inherited;" lines, but then can't allow you to code navigate

Re: [fpc-pascal] can inherited simply replace inherited method(param1, param2, param3)?

2018-01-11 Thread Mattias Gaertner
On Fri, 12 Jan 2018 00:35:30 +0800 Dennis 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;

[fpc-pascal] can inherited simply replace inherited method(param1, param2, param3)?

2018-01-11 Thread Dennis
are the 2 below equivalent? procedure Method(param1, param2 : integer); begin inherited; end; procedure Method(param1, param2 : integer); begin inherited Method(param1, param2); end; ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org