Difference between revisions of "Error Messages/42352"
m |
|||
Line 1: | Line 1: | ||
− | + | [[Category: Error messages]] | |
− | + | == Error text == | |
− | = Cause = | + | :<code>The parameters of Function Table cannot be identified by name when using Function ParsedExprParameters.</code> |
+ | |||
+ | == Cause == | ||
There are a couple built-in Analytica functions that do not support the named-parameter syntax. One example is the [[Table]] function. These functions have no internal names stored for each parameter, so you can't call these using a syntax such as: | There are a couple built-in Analytica functions that do not support the named-parameter syntax. One example is the [[Table]] function. These functions have no internal names stored for each parameter, so you can't call these using a syntax such as: | ||
− | + | :<code>Table(I: Part)</code> | |
+ | |||
+ | The error you are seeing here occurs when you try to obtain the parameter passed to such a function using [[Parsed_Expressions#ParsedExprParameters.28expr.29|ParsedExprParameters]]. | ||
− | + | == Remedy == | |
− | + | For the handful of functions that do not support the named-parameter syntax, you must access the parsed parameters by position, by specifying a number as the second parameter to [[Parsed_Expressions#ParsedExprParameters.28expr.29|ParsedExprParameters]]. | |
− | + | ==See Also== | |
+ | * [[Function calls and parameters]] | ||
+ | * [[Parsed_Expressions#ParsedExprParameters.28expr.29|ParsedExprParameters]] | ||
+ | * [[ParameterEnumeration]] | ||
+ | * [[Table]] |
Latest revision as of 19:23, 20 April 2016
Error text
The parameters of Function Table cannot be identified by name when using Function ParsedExprParameters.
Cause
There are a couple built-in Analytica functions that do not support the named-parameter syntax. One example is the Table function. These functions have no internal names stored for each parameter, so you can't call these using a syntax such as:
Table(I: Part)
The error you are seeing here occurs when you try to obtain the parameter passed to such a function using ParsedExprParameters.
Remedy
For the handful of functions that do not support the named-parameter syntax, you must access the parsed parameters by position, by specifying a number as the second parameter to ParsedExprParameters.
See Also
Comments
Enable comment auto-refresher