Fwd: Re: Wishes: hex-output
Robert Virding
rv@REDACTED
Wed Feb 7 12:04:44 CET 2001
Jakob Cederlund =?iso-8859-1?Q?p=E5?= UAB <jakob@REDACTED> writes:
>I was only refering to:
>
>>ucase([C|Cs]) when C>=$a,C=<$z -> [C-32|ucase(Cs)];
OK, that would have to be coded something like:
ucase([C|Cs]) when C >= $a, C =< $z -> [C - ($a-$A)|ucase(Cs)];
ucase([C|Cs]) when C >= $ß, C =< $ÿ, C /= $÷ ->
[C - ($À -$ß)|ucase(Cs)];
>>At 11:10 2001-02-06 +0100, you wrote:
>>Jakob Cederlund =?iso-8859-1?Q?p=E5?= UAB <jakob@REDACTED> writes:
>> >What about åäöéè etc?
>> >Would be better to go to the functions in the OS instead.
>>
>>How do you mean? The i/o libraries are Latin-1 "aware" and print all
>>printable characters. It is also permitted to use the letters from the
>>"upper half" in atom and variable names without quoting. (Of course you
>>can't quote variables)
>>
>> Robert
>
More information about the erlang-questions
mailing list