Error Messages/40255

Error text

 In call to function My_sum, the second parameter should be specified by name. After one parameter
 is supplied by name, any following parameters must also be specified by name.


In a function call, after specifying one of the parameters by its name, all the following parameters to the function need to be specified by their names. You specified one of the function parameters by its name, but did not specify all the following parameters by their names.

The following example would trigger this error as the parameter name, «X», is supplied but the following parameter name is not specified.

Function parameter declaration for My_sum:

(X, Y: number)

Function call:

My_sum(X: 5, 9)


Call the function by specifying the parameter names to all the parameters following the named parameter.

See Also


You are not allowed to post comments.