user function library
Im trying to understand how to add my own functions to the function library.
i understand most of it EXCEPT the following section taken from the online help...
<span style='font-family:Courier'>procedure TMyFunctionLibrary.DoFunction(FNo: Integer; p1, p2, p3: Variant;
var val: Variant);
begin
val := 0;
case FNo of
0: val := My_DateConvertion_Routine(frParser.Calc(p1));
1: val := My_SumConvertion_Routine(frParser.Calc(p1));
end;
end;</span>
It makes no mention in which class the My_DAteConversion_Routine is implemented in, nor why its using the FrParser.Calc ?????
any help would really be appreciated...
ian
i understand most of it EXCEPT the following section taken from the online help...
<span style='font-family:Courier'>procedure TMyFunctionLibrary.DoFunction(FNo: Integer; p1, p2, p3: Variant;
var val: Variant);
begin
val := 0;
case FNo of
0: val := My_DateConvertion_Routine(frParser.Calc(p1));
1: val := My_SumConvertion_Routine(frParser.Calc(p1));
end;
end;</span>
It makes no mention in which class the My_DAteConversion_Routine is implemented in, nor why its using the FrParser.Calc ?????
any help would really be appreciated...
ian
Comments
regards