Error Messages/40627

< Error Messages
Revision as of 23:06, 4 August 2010 by Lchrisman (talk | contribs) (Created page with '= Error Text = The definition of ''Pr_t'' cannot be parsed due to a circular dependency. = Cause = This occurs when some value needed for parsing the definition cannot be com…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Error Text

The definition of Pr_t cannot be parsed due to a circular dependency.

Cause

This occurs when some value needed for parsing the definition cannot be computed unless the definition is already parsed. This value needed is most likely a table that appears within the definition. To fix, make sure that the indexes used by the table do not depend, directly or indirectly, on the table itself.

Here is a simple example:

Index I := 1..Size(T) Variable T := Table(I)(1,2,3)

In this example, the definition of T cannot be parsed because parsing the expression Table(I)(1,2,3) requires the index value for I. The index value of I bases itself on the Size of the computed result of T. Hence, a circular dependency exists.

Comments


You are not allowed to post comments.