Error Messages/41127
Message examples
When calling Evaluate(...) to invoke the function Fu1, the third parameter, («z») is not optional but has not been provided in the call to Evaluate.
Cause
This message occurs when you use the function Evaluate to call a function given a handle to the function. When you do this, you must provide the parameters for the function call to Evaluate, but if you forget to specify a parameter that is not optional, this error will occur.
Example
Suppose you define the User-Defined Function:
Function Fu1(x, y, z: scalar) := Average([x, y, z])
Then you attempt to invoke it using:
Evaluate(Handle(Fu1), 4, 5)
The function requires 3 parameters, but only two parameters have been supplied to Evaluate, hence this error occurs.
See Also
Comments
Enable comment auto-refresher