The ACCEPT @ statement reads from standard input and requires the following syntax:
ACCEPT f [, iolist]
Parameter |
Description |
f |
Format identifier |
iolist |
List of variables, substrings, arrays, and records |
grname |
Name of the namelist group |
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