Loops

The following statements execute loops.

Do...Loop Statement

Ponavljaj naredbu između Do i Loop naredbi dok je uvjetistinit ili dok uvjet ne postane istinit

For...Next Statement

Ponavlja naredbe između For...Next bloka određeni broj puta

While...Wend Statement

When a program encounters a While statement, it tests the condition. If the condition is False, the program continues directly following the Wend statement. If the condition is True, the loop is executed until the program finds Wend and then jumps back to the While statement. If the condition is still True, the loop is executed again.