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.

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

DOUBLE PRECISION<br />

DOUBLE PRECISION<br />

Declares entities of type double precision.<br />

Syntax<br />

DOUBLE PRECISION [ [, attrib-list] ::] entity-list<br />

attrib-list<br />

Table 10-9<br />

entity-list<br />

298<br />

is a list of one or more of the following attributes, separated by commas:<br />

If attrib-list is present, it must be followed by the double colon. For<br />

information about individual attributes, see the corresponding statement in<br />

this chapter.<br />

is a list of entities, separated by commas. Each entity takes the form:<br />

name [( array-spec )] [= initialization-expr]<br />

where:<br />

name<br />

isthenameofavariableorfunction<br />

array-spec<br />

is a comma-separated list of dimension bounds<br />

initialization-expr<br />

ALLOCATABLE INTRINSIC PRIVATE<br />

DIMENSION OPTIONAL PUBLIC<br />

EXTERNAL PARAMETER SAVE<br />

INTENT POINTER TARGET<br />

is a real constant expression that can be evaluated at compile time. If<br />

initialization-expr is present, entity-list must be preceded by the<br />

double colon.<br />

Chapter 10

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

Saved successfully!

Ooh no, something went wrong!