Re: array-valued function as dummy argument
- From: Ron Shepard <ron-shepard@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 27 Feb 2007 23:22:43 -0600
In article <1172620511.812240@xxxxxxxxxxxxxxxxxx>,
harper@xxxxxxxxxxxxx (John Harper) wrote:
In f95, can one declare a dummy argument that is a function whose
value is an array, without having to write an interface block for it?
No. If the dummy function uses any of the new stuff beyond f77
(e.g. assumed shape arrays, derived types, intent, array valued
functions, etc.), then you must write an interface block and it is
up to the programmer to ensure that the actual interface matches the
interface block. Some compilers can check at compile time that the
actual argument interface matches the dummy argument interface, but
others don't.
$.02 -Ron Shepard
.
- References:
- array-valued function as dummy argument
- From: John Harper
- array-valued function as dummy argument
- Prev by Date: Re: Matlab -> Fortran
- Next by Date: Re: OpenMP: data scoping and modules
- Previous by thread: Re: array-valued function as dummy argument
- Index(es):
Relevant Pages
|