On 17/1/12 9:47, ik wrote:
var
a : procedure(var x : TOrdinal);
b : procedure(var x : integer);
begin
a := @inc;
b := @dec;
Why doesn't the compiler like the above code ?
Inc and Dec are internal compiler routines, more like macros than true
functions. They are not coded as library functions you can locate in the
RTL at an addressable location.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal