TNodeFunction = function(AInput: String): String;
function Func1(AInput: String): String;
result := AInput;
Then I can do this:
SomeFunc = Func1;
So far it is good.
But my problem is that a certain place I need to detect in my program that I gave value to SomeFunc or not.
I tried this :
If SomeFunc<> nil Then <- but I get this error [dcc32 Error] E2008 Incompatible types
Thank you very much for your help!