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.

I/O formatting<br />

Format specification<br />

Format specification<br />

A format specification consists of a list of edit descriptors that define the format of data to be<br />

read with a READ statement, or written with a WRITE or PRINT statement. A format<br />

specification can appear either in a FORMAT statement or in a character expression in a data<br />

transfer statement.<br />

The syntax of a format specification is:<br />

[descriptor1[, descriptor2...]]<br />

where:<br />

descriptor is an edit descriptor that is used to convert data between its internal<br />

(binary) format and an external (character) format. Edit descriptors are<br />

described in detail in the following section.<br />

Note that format specifications are not used in list-directed and namelist-directed I/O.<br />

204<br />

Chapter 9

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

Saved successfully!

Ooh no, something went wrong!