This compiler error is similar to the duplicate variable message and will occur if one of the variables declared in either of the global, input, or var sections of the macro's main body, is also used as one of the parameters of the prototype declaration of a function.
For example:
function MyFunction(nRunDate): s
begin
return 'OK'
end
var
nRunDate // variable already used in function prototype above
begin
// error generated ONLY if the function is called
sResult = MyFunction(n_TokenDate)
end
This error message will only be generated even if the function referred to is used somewhere in the macro.
See also: variable is already declared in the macro's main body.
Topic 181000, last updated on 18-Apr-2020