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.

Language elements<br />

Statements<br />

Table 2-3 identifies which statements may appear within a scoping unit; a check mark<br />

indicates that a statement is allowed in the specified scoping unit. For the purpose of this<br />

table, type declarations include the PARAMETER statement, the IMPLICIT statement, type<br />

declaration statements, derived-type definitions, and specification statements.<br />

Table 2-3 Statements allowed in scoping units<br />

Statements<br />

Main program<br />

External<br />

procedure<br />

Scoping units<br />

Module<br />

CONTAINS <br />

Module<br />

procedure<br />

Internal<br />

procedure<br />

Interface<br />

body<br />

DATA <br />

ENTRY <br />

Executable <br />

FORMAT <br />

Interface block <br />

Statement function <br />

Type declaration <br />

USE <br />

Block data<br />

program unit<br />

Chapter 2 15

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

Saved successfully!

Ooh no, something went wrong!