Fortran 2003: abstract interfaces
- From: Arjen Markus <arjen.markus@xxxxxxxxxx>
- Date: Thu, 31 Jan 2008 05:54:02 -0800 (PST)
Hello,
I have a question about abstract interfaces and actual procedures in
Fortran 2003:
Suppose I have such code as:
abstract interface
subroutine dothis( ... )
....
end subroutine
end interface
This abstract interface is part of a typ definition.
How do I specify that a particular routine implements the interface
"dothis"?
Is that via the procedure statement:
procedure(dothis) :: do_it_this_way
Or via:
interface dothis
module procedure do_it_this_way
end interface
Or how?
(I can not find my copy of Fortran 95/2003 explained at the moment,
alas)
Regards,
Arjen
.
- Follow-Ups:
- Re: Fortran 2003: abstract interfaces
- From: Tobias Burnus
- Re: Fortran 2003: abstract interfaces
- Prev by Date: Re: The concept of a record
- Next by Date: Re: Automatically transform or expand do loop in a subroutine
- Previous by thread: Type specification and initialization expressions
- Next by thread: Re: Fortran 2003: abstract interfaces
- Index(es):
Relevant Pages
|