(j3.2006) exception message on termination
Bill Long
longb
Wed Jun 12 15:33:25 EDT 2013
On 6/12/13 12:28 PM, Van Snyder wrote:
> Bill Long wrote:
>> Perhaps instead of having the current requirement, we could add a
>> IEEE_PRINT_EXCEPTION_SUMMARY intrinsic subroutine that the user could
>> call if they wanted this sort of output, and disconnect the output
>> from STOP.
>
> A very long time ago (i.e., for f95), a block-structured
> exception-handling mechanism was proposed, but fell onto the
> cutting-room floor.
>
> Absent that, how would a program capture a STOP in, say, the main
> program, and call the IEEE_PRINT_EXCEPTION_SUMMARY subroutine?
I was thinking much simpler - the programmer just inserts the CALL
before the STOP statement. An industrious programmer could, of course,
write such a subroutine using the existing facilities.
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