Call to function aFunctionName has too many parameters

Navigation:  Messages > Macro Compiler Messages > Errors >

Call to function aFunctionName has too many parameters

Previous pageReturn to chapter overviewNext page

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 the one above, 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 = EqualN((Today() - nBirthdate1) mod 365), ->

                 (Today() - nBirthdate2) mod 365))

 

For a discussion of nested function calls and under which conditions they are appropriate, see Nested Function Calls.


Topic 108151 updated on 11-Apr-2002.
Topic URL: http://www.qppstudio.net/webhelp/index.html?calltofunctionafunctionname1.htm