(j3.2006) implicit typing
Robert Corbett
robert.corbett
Sat Aug 20 09:05:55 EDT 2016
Ian Harvey posted the following program to
comp.lang.fortran.
DIMENSION c(2)
PARAMETER(i=SIZE(c))
INTEGER c
END
He said none of the compilers he tried would compile
the program, but that he failed to find s rule in
the Fortran standard that it violated. He pointed
out that the definition of a constant expression does
not include the restriction regarding agreement of
implicit and explicit types that is given for
specification expressions.
Bob Corbett
More information about the J3
mailing list