Handbook
Glossary
ch>upper ( ch -- upper )
ASCII
Prev:
ch>lower ( ch -- lower )
Next:
>lower ( str -- lower )
Vocabulary
ascii
Inputs
ch
a character
Outputs
upper
a character
Word description
Converts an ASCII character to upper case.
Definition
USING:
kernel
math
;
IN:
ascii
:
ch>upper
( ch -- upper )
dup
letter?
[
32
-
]
when
;
inline