On Sep 30, 2004, at 10:32 AM, Catherine Moroney wrote:
> However, you do have to use explicit interfaces...
> You have to do this every time you pass in a F90 construct
> (derived type, pointer, etc) into a subroutine as an argument.
I well understand commenting that an explicit interface was needed
because that is often the case in similar questions and it is true that
many f90 constructs need explicit interfaces. I almost started out to
say something about explicit interfaces in my own reply. However...
It is not true that you need an explicit interface to pass a derived
type as an argument. Though lots of f90 features require explicit
interfaces, derived types are not one of those.
Using modules happens to solve both problems - needing explicit
interfaces and needing derived types that match - but they are
different problems.
--
Richard Maine | Good judgment comes from experience;
[log in to unmask] | experience comes from bad judgment.
| -- Mark Twain
|