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.

Data Transfer I/O Statements 10<br />

group-name<br />

Is the name of the group containing the objects to be given values. The name must have been<br />

previously defined in a NAMELIST statement in the scoping unit. The name cannot contain<br />

embedded blanks and must be contained within a single record.<br />

object<br />

Is the name (or subobject designator) of an entity defined in the NAMELIST declaration of the<br />

group name. The object name must not contain embedded blanks except within the parentheses of<br />

a subscript or substring specifier. Each object must be contained in a single record.<br />

value<br />

Is any of the following:<br />

• A constant<br />

Each constant must be a literal constant of type integer, real, complex, logical, or character; or<br />

a nondelimited character string. Binary, octal, hexadecimal, Hollerith, and named constants<br />

are not permitted.<br />

In general, the form of the constant must be acceptable for the type of the list item. The data<br />

type of the constant determines the data type of the value and the translation from external to<br />

internal form. The following rules also apply:<br />

— A numeric list item can correspond only to a numeric constant, and a character list item<br />

can correspond only to a character constant. If the data types of a numeric list element<br />

and its corresponding numeric constant do not match, conversion is performed according<br />

to the rules for arithmetic assignment (see Table 4-2).<br />

— A complex constant has the form of a pair of real or integer constants separated by a<br />

comma and enclosed in parentheses. Blanks can appear between the opening parenthesis<br />

and the first constant, before and after the separating comma, and between the second<br />

constant and the closing parenthesis.<br />

— A logical constant represents true values (.TRUE. or any value beginning with T, .T, t, or<br />

.t) or false values (.FALSE. or any value beginning with F, .F, f, or .f).<br />

A character string does not need delimiting apostrophes or quotation marks if the<br />

corresponding NAMELIST item is of type default character, and the following is true:<br />

— The character string does not contain a blank, comma (,), slash (/), exclamation point(!),<br />

ampersand (&), dollar sign ($), left parenthesis, equal sign (=), percent sign (%), or<br />

period (.).<br />

— The character string is not continued across a record boundary.<br />

— The first nonblank character in the string is not an apostrophe or a quotation mark.<br />

— The leading characters are not a string of digits followed by an asterisk.<br />

10-19

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

Saved successfully!

Ooh no, something went wrong!