(j3.2006) Note 8.30 in F2008
Bill Long
longb
Mon Jun 10 15:13:10 EDT 2013
An interesting question arose regarding the suggestion in Note 8.30 that
the <stop-code> be returned as the exit status, or that the exit status
be zero if no <stop-code> is supplied. The way it is written, the
recommendation applies equally to STOP and ERROR STOP. For STOP it
makes sense. Did we really mean that for ERROR STOP, where the default
exit status would seem more naturally to be the value corresponding to
"abort", such as 1, and not 0. Similarly, if the user wrote
ERROR STOP 0
does it make sense to have the impression of "success" returned as the
exit status?
There seems to be a disconnect with user expectations here, particularly
in the default case.
Cheers,
Bill
--
Bill Long longb at cray.com
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101
More information about the J3
mailing list