Error Messages/40069
< Error Messages
Revision as of 20:33, 29 January 2010 by AManandhar (talk | contribs) (Created page with '= Error Message Examples = A dot operator must be followed by a name that is a legal identifier. For example in the expression A.Ind Ind must be a literal name. This wou…')
Error Message Examples
A dot operator must be followed by a name that is a legal identifier. For example in the expression
A.Ind
Ind must be a literal name. This would access a local index of A with the name Ind at evaluation time.
Cause
In your expression, a dot operator was not followed by a valid index.
The dot operator in a.i lets you access a local index i via an array a that it dimensions. If a local index identifies a dimension of an array that becomes the value of a global variable, it can persist long after evaluation of the expression — unlike other local variables which disappear after the expression is evaluated.
Remedies
Correct the expression so the dot operator is followed by a valid index.
Comments
<comments />
Enable comment auto-refresher