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).


Jonas_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to