(j3.2006) restriction dropped in Fortran 90 for ENTRY statement
Tue Oct 30 17:29:40 EDT 2007
It appears that a hard restriction found in ANSI X3.9-1978
was dropped when we published Fortran 90. The restriction
on page 15-13 of the FORTRAN 77 standard says
>In a function subprogram, a variable name that is the same
>as an entry name must not appear in any statement that
>precedes the appearance of the entry name in an ENTRY
>statement, except in a type-statement.
T = 13.0
is not standard-conforming.
The restriction appears to be missing from Fortran 90, 95, 2003.
Should it still be in force ?
For Fortran 2003 we could supply
After the words "as a dummy argument" add "or as the entry-name"
"In a subprogram, a name that appears as a dummy argument in an ENTRY
statement shall not appear in an executable statement preceding that ENTRY
More information about the J3