Please enable JavaScript to view this site.

 

Navigation: Macros > Macro Language > Compiler Messages > Errors

Call to function aFunctionName has too many parameters

Scroll Prev Up Next More

This compiler error will occur when calling a function, if the compiler notices that you are passing more parameters than it expects.

 

Although this message looks similar to this one, its cause is usually very different; since it is rarely "obvious" to you that you should add spurious parameters.

 

This message usually comes from a mismatch in parentheses in complex nested function calls, such as:

bSameAge = ((Today() - nBirthdate1) mod 365) == (Today() - nBirthdate2) mod 365))

See nested function calls, for a discussion of nested function calls and under which conditions they are appropriate..

 


Topic 108151, last updated on 18-Apr-2020