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.

PRIVATE (statement and attribute)<br />

Prevents access to module entities by use association.<br />

Syntax<br />

The syntax of a type declaration statement with the PRIVATE attribute is:<br />

type, attrib-list :: access-id-list<br />

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

PRIVATE (statement and attribute)<br />

type is a valid type specification (INTEGER, REAL, LOGICAL, CHARACTER, TYPE (<br />

name ), etc.).<br />

attrib-list is a comma-separated list of attributes including PRIVATE and optionally<br />

those attributes compatible with it, namely:<br />

Table 10-45<br />

ALLOCATABLE INTRINSIC SAVE<br />

DIMENSION PARAMETER TARGET<br />

EXTERNAL POINTER<br />

access-id-list is a comma-separated list of one or more of the following:<br />

constant-name<br />

variable-name<br />

procedure-name<br />

defined-type-name<br />

namelist-group-name<br />

OPERATOR ( operator )<br />

ASSIGNMENT(=)<br />

The syntax of the PRIVATE statement is:<br />

PRIVATE [[::] access-id-list]<br />

Chapter 10 399

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

Saved successfully!

Ooh no, something went wrong!