Action chart element.
While Loop is one of three "loop" blocks that are used to implement iterations. The other two are For Loop and Do While Loop.
In "while loop" you define some action or a sequence of actions using other action chart blocks. These actions are executed if the condition defined for this loop evaluates to true. The condition is evaluated once at the beginning of the loop and again before each further iteration of the action.
For detailed information on While loop please refer here.
While Loop resembles Do While Loop in many respects. The difference between "while loop" and "do while loop" is that action of a "do while loop" is always executed at least once, even if the specified condition evaluates to false the first time. Whereas in a "while loop", if the condition is false the first time the action is never executed.To insert "while loop" into action chart
Condition – Boolean expression that will be evaluated to decide whether the action of the "while loop" should be performed once more.
Label – You can add here some comments, explaining the meaning of this "while loop". The comments will be shown inside the block instead of Java code corresponding to this loop.
Fill color – Sets the fill color for the element. Click inside the control and choose a color from the set of most used ones, or choose some custom color using the Colors dialog box.
Action charts. Defining algorithms visually
Editing action chart blocks
Do while loop