On Donnerstag, 21. August 2003 10:49, you wrote:
> If I remove the external statement I receive this error in the building:
> Linking...
> funct.obj : error LNK2001: unresolved external symbol _QDAG@16
> Debug/cele.exe : fatal error LNK1120: 1 unresolved externals
> Error executing link.exe.
> cele.exe - 2 error(s), 0 warning(s)
> I don't understand...
Hello,
what's so difficult to understand: The linker doesn't know where to find the
subroutine QDAG.
You have to tell it explicitely to look into the IMSLIB library.
The proper method can be found in the CFV documentation.
> real :: a,b
> do a=1.,5.,1.
> b=f(a)
> write(*,*) b
> enddo
Real do loop variables are obsolescent and should be avoided.
Alois
|