Using iterative statements

@DoWhile, @While, and @For let you execute statements iteratively (in a loop), depending on whether a condition is True or False. @For initializes, changes, and tests the condition as part of the @function, and is best used processing a range of numbers such as list subscripts. @While and @DoWhile test the condition; typically you initialize the condition before the @While or @DoWhile statement, and change the condition with one of the @While or @DoWhile statements. @While tests the condition before executing its statements, and @DoWhile tests after.

Note: @While, @DoWhile, and @For are new with Release 6.