namelist array objects in subprograms

Paul Thomas paulthomas2@wanadoo.fr
Sun Jan 23 07:03:00 GMT 2005


Paul,

>Anything that needs to handle array values expressons must do so 
>explicitly.
>See gfc_conv_intrinsic_transfer and gfc_conv_function_call for examples.

I was just doing that yesterday afternoon and not making head nor tail of 
it!  I'll have another stab at it today.

On a related matter: Namelist uses a transfer function for each type, 
apparently to avoid contaminating the runtime with front-end type 
enumeration or vice-versa.  Is there any in-principle reason not to do this 
latter, thereby reducing the transfer functions to one.  The code would look 
a lot neater.

Paul T 




More information about the Fortran mailing list