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.

GO TO (unconditional)<br />

Transfers control to a specified label.<br />

Syntax<br />

GO TO label<br />

label is the label of an executable statement.<br />

Description<br />

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

GO TO (unconditional)<br />

The unconditional GO TO statement transfers control directly to the statement at the specified<br />

label. The executable statement with label can occur before or after the GO TO statement, but<br />

it must be within the same scoping unit.<br />

Examples<br />

GO TO 30<br />

30 CONTINUE<br />

Related statements<br />

GO TO (assigned) and GO TO (computed)<br />

Related concepts<br />

For information about flow control statements, see “Flow control statements” on page 113.<br />

Chapter 10 333

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

Saved successfully!

Ooh no, something went wrong!