![Free-eBooks.net](/resources/img/logo-nfe.png)
![All New Design](/resources/img/allnew.png)
This acts as an automatic looping statement with all the control
elements/conditions placed in one place. It is equivalent to the
FOR/NEXT of BASIC high-level language.
The above segment assigns the loop variable s by 1, the test condition
is j<11 and the increment expression is j++. The loop executes for 10
times, with the value of s ranging from 1 to 10.