For Loops and While Loops

Use the For Loop and the While Loop to control repetitive operations. A For Loop executes a subdiagram a set number of times. Similar to a Do Loop or a Repeat-Until Loop in text-based programming languages, a While Loop executes a subdiagram until a condition is met.