This compiler error will occur if two or more of the user-defined functions at the top of your macro have the same name.
For example.
function MyFunction(nSomeDate): s
begin
// do something
end
function MyFunction(nSomeDate): s // Same name function !!!
begin
// do something
end
var
begin
// error generated even if neither function is ever called
end
In the above example the function MyFunction is declared twice causing the present compiler error.
Topic 109910, last updated on 15-Nov-2024