FORTRAN 77 Language Reference

TYPE

The TYPE @ statement writes to stdout.

TYPE f [, iolist]

TYPE grname

Parameter 

Description 

f

Format identifier 

iolist

List of variables, substrings, arrays, and records 

grname

Name of the namelist group 

Description

The TYPE statement is provided for compatibility and is equivalent to:

Example

Example: Formatted and namelist output:


       INTEGER V(5) 
       REAL X(9), Y
       NAMELIST /GNAM/ X, Y
       ...
       TYPE 1, V 
1     FORMAT( 5 I3 ) 
       ...
       TYPE GNAM
       ...