Fortran cycle 语句
cycle 语句使循环跳过其主体的其余部分,并在重复之前立即重新测试其条件。
流程图

实例
program cycle_exampleimplicit noneinteger :: ido i = 1, 20if (i == 5) thencycleend ifprint*, iend doend program cycle_example
结果为:
123467891011121314151617181920