m4 expert needed

Thomas Koenig Thomas.Koenig@online.de
Fri Nov 11 21:23:00 GMT 2005


On Fri, Nov 11, 2005 at 12:04:24PM -0800, Steve Kargl wrote:
> So who's our resident m4 expert?

I can drag up a bit about m4 :-)

> So, we have TRANSFER(SOURCE,MOLD,[SIZE]) with SIZE optional.
> SOURCE and MOLD can be any type and scalar or array.  This
> means we need 
> 
>   SOURCE: character, logical(1,2,4,8), integer(1,2,4,8),
>           real(4,8,[10,16]), complex(4,8,[10,16])

I think we can get by with

    SOURCE: character, 1, 2, 4, 8, (16), (real10), complex4, complex8,
	(complex10), (complex16)

For tranfer, I don't think we need to differentiate between
logical, integer and real of the same sizes.  So, 9 to 13 source
and kind types.



More information about the Fortran mailing list