Function::fdups
Details
-
- This message is generated when the names of parameters in Function may lead to conflicts with names that are generated automatically by the Wolfram Language.
- Names that end in a $ character can lead to this message and should be avoided.
- The Wolfram Language generates symbol names that end in a $ character when localizing variables. Name conflicts may arise if names of this form are already in use.
- Off[message] switches off the message; On[message] switches it on. For example: Off[Function::fdups].
Examples
Basic Examples (1)
An error occurs because of incompatible parameter names:
Function[{x, x$}, x + x$][3, 5]This example shows valid parameter names in Function:
Function[{x, y}, x + y][3, 5]