02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>HP</strong> <strong>Fortran</strong> statements<br />

CONTINUE<br />

CONTINUE<br />

Establishes reference point within a program unit.<br />

Syntax<br />

CONTINUE<br />

Description<br />

The CONTINUE statement has no effect on program execution. Control passes to the next<br />

executable statement. The CONTINUE statement is generally used to mark a place for a<br />

statement label, especially when it occurs as the terminal statement of a FORTRAN 77-style<br />

DO loop.<br />

Examples<br />

count = 0<br />

DO 20 i = 1, 10<br />

count = count + i<br />

20 CONTINUE<br />

PRINT *, count<br />

Related statements<br />

DO<br />

Related concepts<br />

For related information, see the following:<br />

276<br />

“DO construct” on page 107<br />

“Flow control statements” on page 113<br />

Chapter 10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!