Hi There!
I wonder weather the attributes INTENT(IN) and VALUE are combinable? I
had a short look to the standard (12.4.1.2) and couldn't find
disqualifiers.
I am thinking of having an elemental function like:
> ELEMENTAL FUNCTION convert(a) RESULT(b)
> REAL, INTENT(IN), VALUE :: a
> REAL :: b
> ! use a to achieve some fancy stuff
> END FUNCTION convert
Cheers,
Stefan
|