Error Messages/42735


Example error message

Lexical error while checking Distance:
In the call to Table, the index City is listed more than once.  
You cannot use the same index for more than one dimension of a Table.

Cause

A definition of a Table, DetermTable, IntraTable or ProbTable lists the same index twice, as in the following example definition where the index City is listed twice.

Table(City, City)

Any given index can only appear once as a table index.

Remedy

If you are trying to make a 2-D table -- for example, with the distances between pairs of cities, then you need to create a second index, e.g.:

Index City2 := CopyIndex(City)

and then define your table as

Table(City, City2)

See Also

Comments


You are not allowed to post comments.