Working With Annotations

Loops

Our loop navigation controls are very clear, and they are great nested loops:

Note: Notice the 4th or “extra” repetition:

In the last repetition, the condition is tested and the loop is not executed. It is the philosophy of Iguana to show you exactly what is happening in the code; therefore, this last repetition is included.

For nested loops, brilliant!


If you get a feeling of déjà vu, it is probably because they look similar to function call repeats: