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.

Examples<br />

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

ACCEPT (extension)<br />

The following example of the ACCEPT statement reads an integer and a floating-point value<br />

from standard input, using list-directed formatting:<br />

INTEGER :: i<br />

REAL :: x<br />

ACCEPT *, i, x<br />

Related statements<br />

FORMAT, NAMELIST, PRINT and READ<br />

Related concepts<br />

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

“List-directed I/O” on page 178<br />

“Implied-DO loop” on page 191<br />

“Embedded format specification” on page 230<br />

Chapter 10 239

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

Saved successfully!

Ooh no, something went wrong!