f'ORTRAN-80 Statement Summary

FORTRAN-SO

PROGRAM Statement

Category: Nonexecutable

Text Reference: Section 2.1.2

Format

 

Function

 

 

 

PROGRAM name

 

Name main program 'name;' must

 

 

be first statement if used.

 

 

 

 

READ Statement

Category: Executable

 

 

Text Reference: Section 6.3.1

 

 

 

 

 

Formats

 

Function

 

 

 

READ (ctl-list) [in list]

 

Input items in 'inlist' as directed by

READ f [,inlist]

 

specified controls.

 

 

 

Notes:

 

 

'ctl-list' includes the following specifiers:

[UNIT =] unit

unit specifier

[FMT =

] f

format specifier

REC = recno

record number specifier

lOST A T = stname

110 status specifier

ERR =

stl

error specificr

END =

stl

end-of-file specifier

Second format is for preconnected units; 'f'is the format specifier.

REAL Statement

Category: Nonexecutablc, specification, type

Text Reference: Section 3.1.1

Format

Function

REAL name [,name] ...

Define 'name' to be of type real.

 

 

RETURN Statement

Category: Executable

 

Text Reference: Section 5.2.4

 

 

 

 

Format

 

Function

 

 

 

RETURN

 

Return from FUNCTION or

 

 

SUBROUTINE subprogram.

 

 

 

A-tO

Page 100
Image 100
Intel fortran-80 manual Return