Difference between revisions of "Error Messages/40622"
AManandhar (talk | contribs) m (→Remedies) |
|||
Line 1: | Line 1: | ||
− | + | [[Category: Error messages]] | |
− | + | == Error message examples == | |
− | + | :<code>''An unnamed index and a self-index are both present in the result, which is not allowed.''</code> | |
− | + | == Cause == | |
− | + | Analytica allows only one implicit index to define objects and results, and [[self]]-index is an implicit index. The result was self indexed and also had another implicit index which is not allowed. | |
− | |||
− | = Remedies = | + | A [[table]] defined as below would generate this error: |
+ | :<code>Table(self)(1..5, 6..10)</code> | ||
+ | |||
+ | == Remedies == | ||
Create an explicit index and change the result to use the created index to solve this issue. | Create an explicit index and change the result to use the created index to solve this issue. | ||
− | The above table definition can be corrected by introducing an index, | + | The above table [[definition]] can be corrected by introducing an index, <code>IndexA</code>: |
− | |||
− | |||
− | <code> | ||
− | + | :<code>Index IndexA := 1..2 </code> | |
− | <code>Table(IndexA)(1..5, 6..10)</code> | + | :<code>Table(IndexA)(1..5, 6..10)</code> |
− | + | ==See Also== | |
+ | * [[Table]] | ||
+ | * [[Implicit Dimensions]] | ||
+ | * [[Self]] | ||
+ | * [[Definition]] |
Latest revision as of 22:30, 9 March 2016
Error message examples
An unnamed index and a self-index are both present in the result, which is not allowed.
Cause
Analytica allows only one implicit index to define objects and results, and self-index is an implicit index. The result was self indexed and also had another implicit index which is not allowed.
A table defined as below would generate this error:
Table(self)(1..5, 6..10)
Remedies
Create an explicit index and change the result to use the created index to solve this issue.
The above table definition can be corrected by introducing an index, IndexA
:
Index IndexA := 1..2
Table(IndexA)(1..5, 6..10)
See Also
Comments
Enable comment auto-refresher