12.07.2015 Views

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

I = I + H..END SUBROUTINE YEND SUBROUTINE XTypeNon-executableSee AlsoMODULECONTINUE 77The CONTINUE statement passes control to the next statement. It is supplied mainly to overcomethe problem that transfer of control statements are not allowed to terminate a DO loop.SyntaxCONTINUEExampleDO 100 I = 1,10SUM = SUM + ARRAY (I)IF(SUM .GE. 1000.0) GOTO 200100 CONTINUE200 ...CYCLE 90The CYCLE statement interrupts a DO construct execution and continues with the next iteration ofthe loop.SyntaxCYCLE [do-construct-name]ExampleDOIF (A(I).EQ.0) CYCLEB=100/A(I)70 Chapter 3

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

Saved successfully!

Ooh no, something went wrong!