Error Messages/41108
Error Message Examples
Cycle encountered during evaluation of Slice(*,Time,*).
Cause
The use of the Slice function inside the Dynamic loop has caused a cycle. Not specifying the offset in the call to Slice is a possible cause of this error.
The following dynamic call below would trigger this error:
Dynamic(100, Slice(DynamicVar, Time, @Time-0) * 1.1)
You might also get this error if the offsets in your Dynamic loop jump around in time, eventually returning to the same time value and thus causing a cycle. For example:
A := Dynamic( a0, f(B[@Time=@Time-1]) )
B := Dynamic( b0, g(A[@Time=@Time+1]) )
Remedies
Remove the cycle by passing an offset to the Slice operation.
Comments
<comments />
Enable comment auto-refresher