You are here

Stop if True

26 July, 2019 - 09:47
Available under Creative Commons-ShareAlike 4.0 International License. Download for free at http://cnx.org/contents/5b6e61df-b830-48cb-9764-94696cb47c80@1.3

The default loop condition is to continue if the Boolean condition is False (or stop if True). The while loop in the following Figure 5.35 will iterate while Iterations is less than Loop Iteration is False or, equivalently, will stop iterating whenIterations is less than the value in Loop Iteration.

media/image35.png
Figure 5.35 Stop If True