You are here

Stop if True

26 July, 2019 - 09:47
Available under Creative Commons-ShareAlike 4.0 International License. Download for free at

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.

Figure 5.35 Stop If True