Appendix: Built-in Scripting Language Loop functions These functions are used to implement repeating, incrementing loop within a script. For … Next Implements a For … Next loop within a Math worksheet or Command animation. The section of the script affected by the loop begins with the For() function call and ends with the Next notation. The Next notation directs back to the beginning of the loop. Syntax For( numInitialValue , numFinalValue , numStep ) … Next numInitialValue The initial step (increment) of the loop. numFinalValue numStep The final step (increment) of the loop. The step (increment) of the loop. Returned value Returns the step on which the loop is currently running.
Examples Note: You must partner every For function with a Next notation. As shown in the example, you must place the Next notation in the tag field of the math script. InduSoft Web Studio Page 577 Function Group Execution Windows Embedded Thin Client For Loop N/A Supported Supported Supported Tag Name Expression Tag For( 1, 5, 1 ) Next