DO_loops

1_example

 ...              !
 DO I = [2:20:4]  ! the loop will execute 5 times
  ...             !
 ENDDO            !
 ...              !

2_example

 ...
 X = [1;3;5;7;9;10;12;14]
 DO I = X^2  ! the loop will execute LEN(X)=8 times with
  ...        ! I taking on the values 1;9;25;49;81;100;144;196
 ENDDO 
 ...