The following conforms to the standard too!
REAL P, Q, F, X, Y
PARAMETER(P=-4.,Q=2.)
F(X) = X**2 + P*X + Q
READ *, X
Y = F(X)
END
The following conforms to the standard too!
REAL P, Q, F, X, Y
PARAMETER(P=-4.,Q=2.)
F(X) = X**2 + P*X + Q
READ *, X
Y = F(X)
END
@certik and the Moderator team: perhaps this thread should be closed and archived?
Yes, letβs close it. We can start a new thread on the history of spoken languages, which is very interesting. But maybe not the main topic for the Fortran forum, but some dedicated thread I guess would be fine.
I removed the off-topic post from this thread as well.