HP Fortran Programmer's Reference (September 2007)

HP Fortran statements
CONTINUE
Chapter 10310
CONTINUE
Establishes reference point within a program unit.
Syntax
CONTINUE
Description
The CONTINUE statement has no effect on program execution. Control passes to the next
executable statement. The CONTINUE statement is generally used to mark a place for a
statement label, especially when it occurs as the terminal statement of a FORTRAN 77-style
DO loop.
Examples
count = 0
DO 20 i = 1, 10
count = count + i
20 CONTINUE
PRINT *, count
Related statements
DO
Related concepts
For related information, see the following:
“DO construct” on page 141
“Flow control statements” on page 146