|
| Dick Hendrickson wrote in message ...
>
>James J. Weinkam wrote:
[color=darkred]
[color=darkred]
[color=darkred]
>I'm curious about the non portable part. It's easy to write
>a standard conforming portable Fortran uppercase or
>lowercase function. Is the PL/I version non portable
>because you'd attempt to mimic Dave's Fortran coding style,
The algorithm DF used is non-portable.
Merely copying his algorithm in another language
would still be non-portable.
>or is there an inherent reason why character conversions
>are nonportable. I haven't seen Dave's Fortran functions
>(at least not in this round ;) ). But, he often writes
>functions that are special cased to one particular compiler
>rather than use the natural Fortran character operations.
>Like I said, I'm curious if that's what makes the PL/I
>version non portable.
A PL/I equivalent would be portable, because it would
use the TRANSLATE function, or an equivalent method.
>Dick Hendrickson
|
|