> Date: Thu, 21 Aug 2003 01:47:15 +0100
> From: SUBSCRIBE COMP-FORTRAN-90 celevic <[log in to unmask]>
> Hi Ron, thank you for your answer.
> I've done as you suggested and the program is O.K
> Now, I use the program calling the subroutine of the integration
> (QDAG,IMSL libray) to define f(x) as the integral of h(x,y) (respect to
> y); to do this the function h must be declared ad EXTERNAL.
> Adding the line - external h - before the calling there is the error:
> Error: A specification statement cannot appear in the executable section.
> external h.
An EXTERNAL statement is a specification statement, and thus
must appear along with declarations of variables etc,
before any executable statements.
> But I have to declare h external in some way (as it is also written in the
> imsl doc). How can I solve this? Thank you for your help!!!
> cheers,
> celevic
|