[fpc-pascal] using macros

Marco van de Voort marcov at stack.nl
Tue Oct 2 17:17:00 CEST 2012


In our previous episode, Marco van de Voort said:
> 3. There is no way to pass something typeless to a function and then get
>    the size of it. This make emulating it with functions hard.

Btw, Modula2 allows to pass any type of defined size to an ARRAY OF BYTE
open array (and thus such functions also get the size). Its one of those
things I missed going back to Pascal.



More information about the fpc-pascal mailing list