02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's 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.

END (construct)<br />

Terminates a CASE, DO, IF, or WHERE construct.<br />

Syntax<br />

END construct-keyword [construct-name]<br />

construct-keyword<br />

construct-name<br />

Description<br />

is one of the keywords DO, IF, SELECT CASE, orWHERE.<br />

is the name given to the construct terminated by this statement.<br />

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

END (construct)<br />

The END (construct) statement terminates a CASE, DO, IF, orWHERE construct. If<br />

construct-name appears in the statement that introduces the construct, the same name<br />

must also appear in the END statement. If no construct-name is given in the introducing<br />

statement, none must appear in the END statement.<br />

Examples<br />

For examples of the END (construct) statement, see the descriptions of the DO, IF, SELECT, or<br />

WHERE statements throughout this chapter.<br />

Related statements<br />

DO, IF, SELECT CASE, andWHERE<br />

Related concepts<br />

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

“Masked array assignment” on page 99<br />

“Control constructs and statement blocks” on page 105<br />

Chapter 10 309

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

Saved successfully!

Ooh no, something went wrong!