10 Mar
2000
10 Mar
'00
10:01 p.m.
I mean that changing the TYPE of both methods will cause other procedures to fail, causing an incompability with FV.
Keeping the argument a untyped pointer, and then typecasting to a proctype will probably not work, [...]
It does work.
How does it work effectively? So something like: procedure proc1(x:longint); procedure proc2(x:longint); begin end; begin end; type myproctype=procedure(x:longint); procedure proc3(x:pointer); begin myproctype(x); end; begin proc3(@proc1); proc3(@proc2); end; Marco van de Voort (MarcoV@Stack.nl) <http://www.stack.nl/~marcov/xtdlib.htm>