|Parameters||c, a character|
|Purpose||If c is lowercase, returns the uppercase version of c. Otherwise, returns c.|
|Preconditions||Only one parameter (verified).|
c is a character (verified).
|Postconditions||The result is a character.|
The result is not a lowercase letter.
Does not affect c.
> (char-upcase #\a) #\A > (char-upcase #\A) #\A > (char-upcase #\3) #\3 > (char-upcase #\space) #\space > (char-upcase #\a #\b) char-upcase: expects 1 argument, given 2: #\a #\b > (char-upcase 3) char-upcase: expects argument of type <character>; given 3 > (define ch #\a) > ch #\a > (char-upcase ch) #\A > ch #\a
Disclaimer: I usually create these pages on the fly. This means that they are rarely proofread and may contain bad grammar and incorrect details. It also means that I may update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.
This page was generated by Siteweaver on Thu Feb 22 05:47:50 2001.
This page may be found at
You may validate this page's HTML.
The source was last modified Sun Feb 4 20:57:06 2001.