Creating a skeleton while loop in Alice

Drag the while tile (not the loop tile) from the bottom of the Alice development screen and drop it at the appropriate location in the edit pane.

(I will have more to say about the loop tile later.)

You will be required to select a placeholder value of true or false.

This will result in the skeleton code shown in Figure 10 being inserted into the edit pane.

Figure 10. Skeleton code for a loop structure.