Difference between revisions of "Error Messages/40603"

 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
= Error Message Examples  =
+
[[Category: Error messages]]
  
The offset in an expression of the form ident[Time-k], the Time position indicated is beyond the range of the Time index.
+
== Error message examples  ==
  
= Cause  =
+
:<code>''The offset in an expression of the form ident[Time - k], the Time position indicated is beyond the range of the Time index.''</code>
  
The value of the offset, k, causes the Time index for the identifier to be outside the Time range.
+
== Cause  ==
  
This following definition for the Dynamic_node will trigger this error:<br><br>
+
The value of the offset, k, causes the [[Time]] index for the identifier to be outside the Time range.
<code>Time := 1..5;<br>
 
Dynamic_node := Dynamic( 100, Dynamic_node[Time - 2] * 0.9 );
 
</code>
 
<br><br>
 
Note: At Time=2 in the dynamic function, the Time position is not defined.
 
  
= Remedies  =
+
This following definition for the <code>Dynamic_node</code> will trigger this error:
 +
 
 +
:<code>Time := 1..5;</code>
 +
:<code>Dynamic_node := Dynamic(100, Dynamic_node[Time - 2]*0.9);</code>
 +
 
 +
''Note'': At Time = 2 in the dynamic function, the [[Time]] position is not defined.
 +
 
 +
== Remedies  ==
  
 
You can correct the value of the offset passed.
 
You can correct the value of the offset passed.
Line 20: Line 22:
 
OR
 
OR
  
You can pass in more initial values to the dynamic function. The following code would correct the erroneous code given above:<br><br>
+
You can pass in more initial values to the dynamic function. The following code would correct the erroneous code given above:
<code>Time := 1..5;<br>
+
:<code>Time := 1..5;</code>
Dynamic_node := Dynamic( 100, 90, Dynamic_node[Time - 2] * 0.9 );
+
:<code>Dynamic_node := Dynamic(100, 90, Dynamic_node[Time - 2]*0.9);</code>
</code>
 
<br><br>
 
  
<br> <comments />
+
==See Also==
 +
* [[Dynamic]]
 +
* [[Time]]
 +
* [[Definition]]

Latest revision as of 20:39, 15 March 2016


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.

Cause

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.

Remedies

You can correct the value of the offset passed.

OR

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

Comments


You are not allowed to post comments.