Fortran cycle and C continue

The cycle and C continue statements causes the current iteration of a loop to end without executing the rest of the body. Rather than terminating the loop, as exit does, it then goes back to the beginning of the loop and possibly begins the next iteration.

Use of cycle and continue is unstructured, and generally makes code less organized and more difficult to read, so its use should be avoided. Try to design a more structured loop that utilizes standard loop conditions. Better planning usually pays off in the end.