>>> Not so, the program contradicts the Fortran standard.
>>Looks OK to me. Maybe I missed something?
The Standard defines conformance for "program", "program unit", and
"processor". Here it is for program:
A program is a standard-conforming program if it uses only those
forms and relationships described herein and if the program has
an interpretation according to this part of ISO/IEC 1539.
we usually say this program is standard-conforming. But if we
depend on this program to, say, abort with an error message for a
non-numeric input value, this program is not standard-conforming??
The C Standard, for example, introduces two terms:
A /strictly conforming program/ ... shall not produce output
dependent on any unspecified, undefined, or implemention-defined
behavior, and shall not exceed any minimum implementation limit.
A /conforming program/ is one that is acceptable to a conforming
[log in to unmask]