Error Messages/40603

Error message examples

The offset in an expression of the form ident[Time - k], the Time position indicated is beyond the range of the Time index.


The value of the offset, k, causes the Time index for the identifier to be outside the Time range.

This following definition for the Dynamic_node will trigger this error:

Time := 1..5;
Dynamic_node := Dynamic(100, Dynamic_node[Time - 2]*0.9);

Note: At Time = 2 in the dynamic function, the Time position is not defined.


You can correct the value of the offset passed.


You can pass in more initial values to the dynamic function. The following code would correct the erroneous code given above:

Time := 1..5;
Dynamic_node := Dynamic(100, 90, Dynamic_node[Time - 2]*0.9);

See Also


You are not allowed to post comments.