Error Messages/43002

Error Message

The expression evaluated by the ellipsis operator (i.e., ...«expr»), passed to the «x» parameter of Fu1 must return a list of values. The result of evaluating the expression was not a list.

Description

When a function accepts a repeated parameter, so that you can call it using something like Fu1( 99, 44, 33, 22 ), with an arbitrary number of repeats to the first parameter, you can use Repeated Parameter Forwarding to send a computed list of values as the list of parameters. The syntax uses there dots, known as an ellipsis, like this: Fu1( ...expr), where expr is an expression that returns a list. This error results when «expr» evaluates successfully, but returns something other than a list of values.

See Also

Comments


You are not allowed to post comments.