Paddy,
At 19:44 29-11-2000 +0010, you wrote:
>F90/F95 brought in some lovely character intrinsics.
>
>One that is missing, and every library on the net that I
>have seen has its own variant, is to uppercase (or
>lowercase).
>I was looking at our applications today, written by
>several people and over several decades. I was shocked
>to find that we have so many Mickey Mouse routines to do
>what I believe should be a sim-ple intrinsic.
Yes, it is simple as long as you stick to ASCII or EBCDIC.
Philip Helbig points to the implications and complications
if this intrinsic should work as a generic for all sorts of
character sets.
IMHO an intrinsic TO_UPPER and TO_LOWER is welcome even if it
were limited to ASCII (and EBCDIC ?).
Anyway CHAR and ICHAR give processor dependent results also.
Ands what is IACHAR(Hindi_"#") ?
>Though F2K is getting close (only 3/4 years down the
>track) shouldn't such an intrinsic be easily acceptable?
>
>A character by character function, or a straight string
>transformation? I'd go for the latter.
I too.
< snip >
--
Meilleures Salutations,
Kindest Regards,
/---
Jan van Oosterwijk
Computing Centre
Delft University of Technology
Postbus 354
2600 AJ Delft
Netherlands / Pays-Bas
mailto:[log in to unmask]
Phone: +31 15 27 85017
Fax: +31 15 27 83787
|