Concept Flow - WHILE loops in procedures
Start Procedure
Initialize variables
Check WHILE condition
|Yes
Execute loop body
Update variables
Back to WHILE condition
|No
End Procedure
The procedure starts by initializing variables, then repeatedly checks the WHILE condition. If true, it runs the loop body and updates variables, then checks again until the condition is false.