Query abt Allocatable Dummy argument in F2003

FX Coudert fxcoudert@gmail.com
Mon Aug 8 14:28:00 GMT 2005


> Dear Sir,

For quick answers concerning gfortran, and any fortran issues that has 
to do with the developing gfortran, please use the mailing-list: 
gfortran at gcc.gnu.org .

> I am working on implementation of Allocatable Dummy argument in F2003. I 
> have a confusion regarding the same. Kindly help me to resolve the same.

You're working on a implementation of allocatable dummy arguments in 
gfortran?

> Standard says " Interface must be explicit if dummy argument is 
> allocatable. I.e. either corresponding procedure/function is internal or 
> interface is given explicitly if its external". Above constraint is to 
> be taken care by user or compiler. Please let me know.

Different constraints apply to the use and the compiler. The compiler 
must check that this condition is satisfied, and issue an error 
otherwise. The user has to write code that satisfies this constrain, 
otherwise his code will be rejected by any decent compiler.

FX



More information about the Fortran mailing list