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.
function MyFunction(nRunDate): s
nRunDate // variable already used in function prototype above
// error generated ONLY if the function is called
sResult = MyFunction(n_TokenDate)
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