Re: [fpc-pascal]How to load a png image

2003-12-21 Thread Michalis Kamburelis
Karim wrote: Hello I want to know, how to load a png image with freepascal ? There is a png libpng package shipped with FreePascal, but I cannot find any examples or docs. Pascal unit Libpng is just a wrapper that calls functions from libpng.so. Documentation for libpng is available at the offi

[fpc-pascal]How to load a png image

2003-12-21 Thread Karim
Hello I want to know, how to load a png image with freepascal ? There is a png libpng package shipped with FreePascal, but I cannot find any examples or docs. Or are there any onther simple image formats that can be loaded into a freepascal program ? Some suggestions would be nice. Thanks Kar

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