06.03.2014 Views

Intel Fortran Language Reference - NCI National Facility

Intel Fortran Language Reference - NCI National Facility

Intel Fortran Language Reference - NCI National Facility

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.

11 <strong>Intel</strong> <strong>Fortran</strong> <strong>Language</strong> <strong>Reference</strong><br />

Integer:<br />

Real and complex:<br />

Logical:<br />

Character:<br />

The d must be specified with F, E, D, and G field descriptors even if d is zero. The decimal point is<br />

also required. You must specify both w and d, or omit them both.<br />

A repeat specification can simplify formatting. For example, the following two statements are<br />

equivalent:<br />

20 FORMAT (E12.4,E12.4,E12.4,I5,I5,I5,I5)<br />

20 FORMAT (3E12.4,4I5)<br />

See Also<br />

• “General Rules for Numeric Editing”<br />

• “Nested and Group Repeat Specifications”<br />

Iw[.m], Bw[.m], Ow[.m], and Zw[.m]<br />

Fw.d, Ew.d[Ee], ENw.d[Ee], ESw.d[Ee], Dw.d, and Gw.d[Ee]<br />

Lw<br />

A[w]<br />

General Rules for Numeric Editing<br />

The following rules apply to input and output data for numeric editing (data edit descriptors I, B,<br />

O, Z, F, E, EN, ES, D, and G).<br />

Rules for Input Processing<br />

Leading blanks in the external field are ignored. If BLANK='NULL' is in effect (or the BN edit<br />

descriptor has been specified) embedded and trailing blanks are ignored; otherwise, they are<br />

treated as zeros. An all-blank field is treated as a value of zero.<br />

The following table shows how blanks are interpreted by default:<br />

Type of Unit of File<br />

An explicitly OPENed unit<br />

An internal file<br />

A preconnected file 1<br />

Default<br />

BLANK='NULL'<br />

BLANK='NULL'<br />

BLANK='NULL'<br />

1. For interactive input from preconnected files, you should explicitly specify the BN or BZ edit descriptor to ensure desired<br />

behavior.<br />

A minus sign must precede a negative value in an external field; a plus sign is optional before a<br />

positive value.<br />

11-8

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

Saved successfully!

Ooh no, something went wrong!