Michael Milgram wrote:
> Hi:
>
> Since recent discussion centres on "improvements" for future Fortran,
> may I suggest the introduction of "^" symbol for exponentiation, to
> eventually replace "**".
>
That would be nice, I agree...
>
> I suppose it could be done now in Fortran 90/95 using "Interface
> operator" but that probably compromises computational speed and
> efficiency, and still allows typos to go undetected.
>
You can't do it with interface operator(^). Fortran 90 is very particular
about what can go in that paren. It has to be either an alphanumeric
string or one of the already recognized operators.
Alvaro Fernandez
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|