Subject UDF Problems
Author Gerhardus Geldenhuis
Hi
If all parameters are passed by reference how come this code works in delphi
it is extracted out of the freeudflib library.

function DoubleAbs(var Value: Double): Double;
begin
result := Abs(Value);
end;

I have a udf that does not work.
The problem is the values that IB passes are wrong eg
it should pass 100 for the first parameter instead it passes
21557560 which looks like an address. I wrote my procedure with
the freeudflib open the whole time to see how they do things.
Apparently it does not work.
Does anybody have for me a sample piece of code?

Groete
Gerhardus