RE: NONMEM as a dll
From: "Gibiansky, Ekaterina" <gibianse@globomax.com>
Subject: RE: NONMEM as a dll
Date: Tue, 8 Dec 1998 09:28:04 -0500
Mark,
check whether this helps:
>I've been thinking about the problem with the fortran library, so I went to
>comp.lang.fortran discussion group and looked up for "exception handling."I
>found that Sun supports setjmp and longjmp functions for its fortran
>compiler, and they work similar to the same functions in C. However, they
>are not a part of the standard for fortran. Another thing that I've found is
>something called "alternative return," but I've never programmed in fortran,
>so I couldn't get all the details.
As I understand, setjmp works as a label to which you return when you call longjmp. And presumably, it can be set right before end in nonmem.for and called in place of STOP in CFILES. If only, these functions (or similar) are supported by DIGITAL FORTRAN.
Katya Gibiansky
GloboMax LLC
7250 Parkway Drive, Suite 430
Hanover, MD 21076
Voice (410) 782-2234
FAX (410) 712-0737