On Thu, 27 Apr 2000, Craig T. Dedo wrote:
> Dear Jaehoon:
>
> Jaehoon Seol wrote:
>
> > Does Fortran 90/95 have a function which can convert lower case characters
> > into upper case characters like toupper() in C ?
>
> No, not as an intrinsic procedure, either function or subroutine.
>
> However, it is extremely easy for you to write your own. It is probably
> easier to write it as a subroutine rather than a function. That way, you can
> make both the input and output strings assumed-size.
I know that it is an old trick converting to upper case character using
collating sequence, but I was not sure how efficient my own version will
be compared to an intrinsic procedure with/without optimizer.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|