Error Messages/46190

< Error Messages
Revision as of 18:31, 25 October 2021 by Lchrisman (talk | contribs) (Created page with "== Error Message == :In an IntraTable cell at Va2[I=3,J=2], you can't use Self in this way. When you use Self in an intratable cell, you need to slice or subscr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Error Message

In an IntraTable cell at Va2[I=3,J=2], you can't use Self in this way. When you use Self in an intratable cell, you need to slice or subscript Self to a different cell of the table, so you don't create a cyclic dependency where the cell depends on itself.

Description

The above message occurs in the following IntraTable example:

IntraTable bad use of Self.png

The use of Self in this table creates a cyclic dependency. In order to obtain the value for cell [I=3, J=2], the expression there would need to know the value of that cell.

When you use Self in an IntraTable, it should appear as a subscript or slice expression to other cells in the table. For example, instead of the above Sum expression, Sum( Self[I=1], J) would be okay.

See Also

Comments


You are not allowed to post comments.