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.

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

The following values are assigned to the I/O list items:<br />

I/O List Item<br />

See Also<br />

• “Rules for Formatted Sequential READ Statements”<br />

• “Intrinsic Data Types” for details on the literal constant forms of intrinsic data types<br />

• “Rules for List-Directed Sequential WRITE Statements” for details on list-directed output<br />

Rules for Namelist Sequential READ Statements<br />

Namelist, sequential READ statements translate data from external to internal form by using the<br />

data types of the objects in the corresponding NAMELIST statement to determine the form of the<br />

data. The translated data is assigned to the specified objects in the namelist group in the order in<br />

which they appear, from left to right.<br />

If a slash ( / ) is encountered during execution, the READ statement is terminated, and any<br />

remaining input list items are unchanged.<br />

If the file is connected for unformatted I/O, namelist data transfer is prohibited.<br />

Namelist Records<br />

Value Assigned<br />

I 4<br />

R 6.3<br />

D (3.4,4.2)<br />

E (3.0,2.0)<br />

L<br />

.TRUE.<br />

M<br />

.FALSE.<br />

J<br />

Unchanged<br />

K 14<br />

S 14.6<br />

T 14.6D0<br />

C<br />

ABC,DEF/GHI' JK<br />

A<br />

Unchanged<br />

B<br />

Unchanged<br />

A namelist external record takes the following form:<br />

&group-name object = value [, object = value].../<br />

10-18

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

Saved successfully!

Ooh no, something went wrong!