XLISP > XLISP 2.0  -  Contents  -  Reference  -  Previous | Next

char-upcase


Type:   -   function (subr)
Source:   -   xlstr.c

Syntax

(char-upcase char)
char - a character expression
returns - the upper case character

Description

The 'char-upcase' function converts the 'char' expression to upper case. The upper case equivalent of 'char' is returned. If the 'char' is not alphabetic ['a' thru 'z' or 'A' thru 'Z'], the character is returned unchanged.

Examples

(char-upcase #\0)   ; returns #\0
(char-upcase #\A)   ; returns #\A
(char-upcase #\a)   ; returns #\A
(char-upcase #\[)   ; returns #\[
(char-upcase #\+)   ; returns #\+

See the char-upcase function in the XLISP 2.0 manual.

  Back to Top


XLISP > XLISP 2.0  -  Contents  -  Reference  -  Previous | Next