LF Fortran 95

CONTINUE Statement

Description

The CONTINUE statement is traditionally used in conjunction with a statement label, as the target of a branch statement or a do loop terminus. Execution of a CONTINUE statement has no effect.

Syntax

CONTINUE

Remarks

If a labeled CONTINUE statement marks the terminus of a do loop, it must not be the target of a branch statement and it cannot be used as the terminus of any other do loop.

Example

integer :: i 20 continue do 10 i=1,10 10 continue goto 20