Fortran 90: Loops and Conditionals

cycle allows jumping back to the beginning of a do loop.

exit will exit a do loop

an infinite loop:

do 
if (condition) exit
enddo 

Now there's do while


Return to Fortran 90 index