Contents - Index
LOOP# is useful only when animation is employed. The animation control in the Diagram window allows the calculations to be restart after they are completed thereby providing a continuous display. The ESC key stops the calculations. Loop# is a counter indicating the number of times the calculations have been started.
Under some circumstances, this information can be used in the Equations window. For example, it is possible to solve a dynamic steady-state problem in which the end condition is the starting condition using the animation control. In this case, the initial conditions is found by reading the value at the end of the Parametric Table, but this value does not exist until the table has completed one loop. The Loop# variable can be used in a Function to test for this condition.
Loop# has no arguments and it should only be used with animation. Otherwise the function returns 0.