24.11.2014 Views

Open Watcom FORTRAN 77 Language Reference

Open Watcom FORTRAN 77 Language Reference

Open Watcom FORTRAN 77 Language Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Language</strong> <strong>Reference</strong><br />

2.15 CONTINUE Statement<br />

<br />

CONTINUE<br />

Execution of a CONTINUE statement has no effect. This statement is often used in conjunction with DO<br />

statements. It is usually identified with a label. It often provides a convenient reference for statements<br />

which have the ability to transfer control of execution.<br />

Example:<br />

DO 10 X = -5.1, 12.8, 0.125<br />

.<br />

.<br />

.<br />

10 CONTINUE<br />

IF( A .LT. B ) GO TO 20<br />

IF( A .GT. C ) GO TO 20<br />

.<br />

.<br />

.<br />

20 CONTINUE<br />

36 CONTINUE Statement

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

Saved successfully!

Ooh no, something went wrong!