Hello,
> Another question that occurs to me: Since the compiler does
> give me an error message when I'm trying to pass an internal
> function it obviously recognised the problem. Why doesn't
> it, instead of the error message, suppress any other problematic
> actions like recursions or trying to produce in-line code?
We have discussed this at length on this list before. I have complained
like you against the F95 restrictions, and others agreed that these can be
relaxed, but this will not be done, so one has to live with it. The
solution: Make a module that both your main program and the routines access
and put all your shared data in there. But this is not quite the same, even
though it can usually be made to work.
Best,
Aleksandar
--
__________________________________
Aleksandar Donev
Complex Materials Theory Group (http://cherrypit.princeton.edu/)
Princeton Materials Institute & Program in Applied and Computational Mathematics
@ Princeton University
Address:
419 Bowen Hall, 70 Prospect Avenue
Princeton University
Princeton, NJ 08540-5211
E-mail: [log in to unmask]
WWW: http://atom.princeton.edu/donev
Phone: (609) 258-2775
Fax: (609) 258-6878
__________________________________
|