[fpc-devel] patch minigzip

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Sep 8 10:17:02 CEST 2006

On 7 sep 2006, at 22:08, Daniƫl Mantione wrote:

>> Or could we perhaps just import back zutil.pas but without the
>> memory functions?
> No, there is no reason why you want to use types like Pulong etc.

One reason to do that is to keep code portable between different  
Pascal compilers.

> in
> Pascal. Use of standard types that every Pascal programmer  
> understands,
> like Pcardinal, makes the code much more readable.

Indexing pointers as arrays is not exactly a typical Pascal way of  
doing things either... And whether or not it's more readable mainly  
depends on knowing the fact that FPC allows you to do that (and even  
then it's sometimes confusing, although not in this particular case).


More information about the fpc-devel mailing list