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.

Deleted and Obsolescent <strong>Language</strong> Features A<br />

• Statement functions<br />

To replace this functionality, it is recommended that you use an internal function (see<br />

“Internal Procedures”).<br />

Obsolescent <strong>Language</strong> Features in <strong>Fortran</strong> 90<br />

<strong>Fortran</strong> 90 did not delete any of the features in FORTRAN 77, but some FORTRAN 77 features<br />

were identified as obsolescent.<br />

Other methods are suggested to achieve the functionality of the following obsolescent features:<br />

• Alternate return (labels in an argument list)<br />

To replace this functionality, it is recommended that you use an integer variable to return a<br />

value to the calling program, and let the calling program test the value and perform<br />

operations, using a computed GO TO statement (see “Computed GO TO Statement”) or<br />

CASE construct (see “CASE Constructs”).<br />

• Arithmetic IF<br />

To replace this functionality, it is recommended that you use an IF statement or construct (see<br />

“IF Construct and Statement”).<br />

• ASSIGN and assigned GO TO statements<br />

These statements are usually used to simulate internal procedures (see “Internal Procedures”),<br />

which can now be coded directly.<br />

• Assigned FORMAT specifier (label of a FORMAT statement assigned to an integer variable)<br />

To replace this functionality, it is recommended that you use character expressions to define<br />

format specifications (see “Format Specifications”).<br />

• Branching to an END IF statement from outside its IF block<br />

To replace this functionality, it is recommended that you branch to the statement following the<br />

END IF statement (see “IF Construct”).<br />

• H edit descriptor<br />

To replace this functionality, it is recommended that you use the character constant edit<br />

descriptor (see “Character String Edit Descriptors”).<br />

• PAUSE statement<br />

To replace this functionality, it is recommended that you use a READ statement that awaits<br />

input data (see “READ Statements”).<br />

• Real and double precision DO control variables and DO loop control expressions<br />

To replace this functionality, it is recommended that you use integer DO variables and<br />

expressions (see “DO Constructs”).<br />

A-3

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

Saved successfully!

Ooh no, something went wrong!