Convert a character to upper case.
Source position: utility.pas line 376
function ToUpper( |
c: LongWord |
):Char; |
c |
|
Character to be converted. |
Upper case version of input character.
Converts a character to upper case, handling international character sets. Currently only works for ASCII characters. Would not be difficult to adapt for other character sets (Unicode for example).
Whenever locale.library is installed in a system, this function is replaced by language-specific code. This means that depending on which language the user has currently selected, a given character may return different results when passed to this function. This fact must be taken into consideration when using this function.
|
Convert a character to lower case. |