Robin Vowels
unread,Oct 28, 2011, 4:23:29 AM10/28/11You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
On Oct 26, 9:19 pm, Wolfgang Kilian <see...@domain.invalid> wrote:
> One of the major omissions in modern Fortran: no exception handling (in
> the sense of try .. catch ... or whatever). A Fortran way of catching
> errors/exceptions is setting a module variable, maybe in some special
> error-handling module, and ignoring the exception in the function,
> leaving it to the caller. However, the result is used in an expression
> despite the exception (if it is a function, not a subroutine), setting a
> module variable makes the function impure, and so it does not go along
> well with modern parallel processing. My personal dream would have been
> exception handling coming along with the 2008 coarrays ...
You might like to consider using PL/I, which has
error-trapping facilities along the lines that you mention.