Error Messages/41128


Example warning text

 When calling Evaluate(..) to invoke the function 'F', 3 parameters for 'F' have been supplied, 
 but the function expects only 2 parameters.  The extra parameters will be ignored.

Cause

Given a handle to a function, the function Evaluate can be used to call the function. The 2nd, 3rd, ..., parameters to Evaluate supply the parameters to be passed to the function when it is called. This warning occurs when you supply more parameters than the function accepts.

For example, suppose you have this function:

Function F(x, y)

And you attempt to call it as follows:

MetaVar fn := Handle(F);
Evaluate(fn, 1, 2, 3)

In the call to Evaluate, three parameters were supplied (1, 2, 3), even though F expects only two. Hence, the warning occurs.

Ignoring

If the warning is ignored, the extra parameters are ignored.

See Also

Comments


You are not allowed to post comments.