i have some problems to compile the graphix library with new snapshots of the 1.05 branch.
Show quoted text 8 lines
Add an "@" before the procedure. This was changed recently to make the compiler consistent with both itself and the documentation.
In TP you have:
procvar(para1,para2,...) = call procedure (or just "procvar" if it has no parameters)
@procvar = contents of procvar
@@procvar = address of procvar
procvar := procedure/function = assign address of procedure/function to procvar
In FPC you have:
procvar(para1,para2,...) = call procedure (or just "procvar()" if it has no parameters)
procvar = contents of procvar
@procvar = address of procvar
procvar := @ assign address of procedure/function to procvar
I think the FPC syntax is more logical.
Jonas
