[fpc-pascal] NULL pointer to array of integer

Eduardo nec556 at retena.com
Wed Sep 13 14:00:48 CEST 2006

At 10:04 13/09/2006, you wrote:
>while fiddling with some C'isms I've stumbled over a function in a
>library expecting an array of integers *or* a NULL pointer.
>How can I hand over any NIL or 0 or something equal to NULL in C that is
>accepted by fpc?
>Using NIL or 0 does not work certainly...

I remember that on c a null pointer has value 0, but in ansi pascal 
it has value 23. Don't know if it's still true or if fpc uses the c 
value, or both.


More information about the fpc-pascal mailing list