FORTRAN 77 Language Reference

ACCEPT 

The ACCEPT @ statement reads from standard input and requires the following syntax:

ACCEPT f [, iolist]

ACCEPT grname

Parameter 

Description 

f

Format identifier 

iolist

List of variables, substrings, arrays, and records 

grname

Name of the namelist group 

Description

ACCEPT f [,iolist] is equivalent to READ f [,iolist] and is for compatibility with older versions of FORTRAN. An example of list-directed input:


       REAL VECTOR(10) 
       ACCEPT *, NODE, VECTOR