Error Messages/40461

< Error Messages
Revision as of 00:00, 5 January 2017 by Lchrisman (talk | contribs) (Local Variables --> Local Values (terminology change))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Error message examples

Assignment to slice 4 along IndexA is out-of-range.


You tried to assign to a slice of a local value that does not exist.

The following code would trigger this error.

Index IndexA := 1..3; 
[[Var]] LocalA := [[Array]](IndexA, [1, 4, 9]);
[[Slice]](LocalA, IndexA, 4) := 16;


Correct the assignment so that you are assigning to a slice in the index range.

See Also


You are not allowed to post comments.