Hi!
I have in one unit declarations:
TTestFunc = function(X:Float):boolean;
function Any(constref Vector:array of double; Test:TTestFunc):boolean;
And in another one pair of functions:
function IsZero(F:double): boolean; overload; // uses default epsilon
function IsZero(F: double; Epsilon: Float): Boolean; overload;
And if I write somewhere:
everything works fine. If, however, the places are swapped:
function IsZero(F: double; Epsilon: Float): Boolean; overload;
function IsZero(F:double): boolean; overload; // uses default epsilon
compiler complains that types are incompatible.
So, my question: is it possible to modify behaviour of the compilter such that it continues search for a second function, at least is "overload" attribute is present.
Thank you in advance!