Thanks Jonas!
Jonas Maebe schreef op 4 mei '13: > On 04 May 2013, at 10:25, Darius Blaszyk wrote: > >> I came across a pointer variable in C which also get's assigned integer >> values. Anyone has an idea how to port this in FPC? The variable is declared >> as: static void *x=0; Later on it get's assigned as this: x= 1; > > var > x: pointer; > begin > x:=nil; { 0 is guaranteed to map to NULL/nil in C } > x:=pointer(1); > end. > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal [1] Links: ------ [1] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal