Assumed character length functions - PR15326

Paul Thomas Paul.Thomas@jet.efda.org
Fri Jun 10 16:01:00 GMT 2005


Thank you, Richard.

>> I have been attempting to enable assumed character length functions
>> (incidentally, should it not be automatic character length functions?)

The reason that I asked is that I found the incorrect terminology being used
in a well-known text book on fortran.  I will write to the author!

> Assumed length is (IMO) an abomination and quite quirky. It is formally
> obsolescent.

It is as well that I am trying to sort out automatic length character
functions then!

Note that automatic character length variables work fine within the function
or procedure scope; they are broken if you try to return them as a function
result.  Assumed length character arguments are also working fine, fo all
their obsolescence and quirkiness.

Paul T



More information about the Fortran mailing list