#include #include showIfc(p) { if (p != nil) "{ argc=<>, optArgc=<>, varargs=<> }"; else "(not found)"; } obj: object ; main(args) { local f = &tadsSay; "f=tadsSay: ifc=<>\n"; f('this is a pointer call to tadsSay!!!\n'); "\b"; obj.setMethod(&m1, &tadsSay); "obj.m1=tadsSay: ifc=<>\n"; obj.m1('this is a setMethod call to tadsSay!!!\n'); "\b"; f = Compiler.compile( 'function(x) {' + 'local f = &tadsSay;' + '"in DynamicFunc: f=tadsSay: ifc=<\>\\n";' + 'f(\'DynamicFunc pointer call to tadsSay! x=<\>\\n\');' + '}'); f(1234); }