Re: [fpc-pascal]inherited keyword

2003-12-21 Thread Mattias Gaertner
On Sun, 21 Dec 2003 17:36:00 +0100 Florian Klaempfl <[EMAIL PROTECTED]> wrote: > Mattias Gaertner wrote: > > > Can someone explain the semantic difference between *1 and *2 please? > > > > procedure A(p: Type1); > > begin > > inherited; // *1 > > inherited A(p); // *2 > > end; > > > > ? >

Re: [fpc-pascal]inherited keyword

2003-12-21 Thread Thomas Schatzl
Hello, > > Can someone explain the semantic difference between *1 and *2 please? > > > > procedure A(p: Type1); > > begin > > inherited; // *1 > > inherited A(p); // *2 > > end; > > > > ? > > 1: supporting a delphi bug > 2: as you expect > > Well, the comment to 1 isn't completly true: In met

Re: [fpc-pascal]inherited keyword

2003-12-21 Thread Florian Klaempfl
Mattias Gaertner wrote: Can someone explain the semantic difference between *1 and *2 please? procedure A(p: Type1); begin inherited; // *1 inherited A(p); // *2 end; ? 1: supporting a delphi bug 2: as you expect Well, the comment to 1 isn't completly true: In method handlers (declared with

[fpc-pascal]inherited keyword

2003-12-21 Thread Mattias Gaertner
Can someone explain the semantic difference between *1 and *2 please? procedure A(p: Type1); begin inherited; // *1 inherited A(p); // *2 end; ? Mattias ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/f