General Form Of VB6 Iteration
VB6, like most languages, has several iteration statements but we will only study one here – the Do-While loop
The semantics are as follows:
- The termination condition is tested and if it is false the statements are all skipped; execution continues after Loop
- If it is true, the statements are performed once
- The termination condition is tested again, and if it is false the loop is over and the statements are skipped; continue after Loop
- If it is true, the statements are performed a second time
- …
Do While <termination condition>