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 li
Hello,
I'm trying to do the following:
-
var
a : procedure(var x : TOrdinal);
b : procedure(var x : integer);
begin
a := @inc;
b := @dec;
end.
---
I simplified the original code of mine to this specific example to make it
more clear.
At variable a, I get the following