Frank Heckenbach a écrit:
Markus Gerwinski wrote:
Yes, the first problem is to define a syntax. I think there might have been some suggestions before, but nothing concrete so far AFAIR. Do other dialects have something like that, if so which syntax?
in delphi you can define procedural types by
procedure g(i:integer) of object;
or
function f(i:integer): integer of object;
which passes the self as additional pointer to the VMT.
Maurice