I want to loop over N iterations, but some of the iterations should be "skipped" under particular conditions. 
I know I can do it using the goto statement, such as :
       do i = 1, N
          if condition(i) goto 14
          ! Execute my iteration if condition(i) is false
    14    continue
       end do
But I am a little scared of these goto statements, and I would like to know if there is another solution (I am using fortran 90 but would be interested in any solution, even if it requires a newer version).
 
     
    