
DO loopvar = loopstart, loopend, loopstep ! loopstep=1 can be omitted ! ... block of statements or constructs ENDDO ! the terminating statement of a DO loop
DO 999 loopvar = loopstart, loopend, loopstep ! loopstep=1 can be omitted ! ... block of statements or constructs 999 CONTINUEThis allows a GOTO to the last (non executable) CONTINUE statement. This is not recommended, better is the use of an IF construct.