1284
Appendix C: Macros — Character Classification / Conversion
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
isupper
Declaration:
BYTE
isupper
(BYTE
c
)
Category(ies):
Character Classification / Conversion
Description:
Return non-zero (true) if the given character is a upper-case alphabetic
character (including the international alphabetic characters).
Inputs:
c
— Character to test.
Outputs:
Non-zero if
c
is a upper-case alphabetic, zero otherwise.
Assumptions:
Access_AMS_Global_Variables is defined.
Side Effects:
None
Availability:
AMS 2.00 or above.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: isalnum, islower
Example:
The
tolower
function uses
isupper
to check for upper-case characters as
defined below. Because of this, its arguments can be evaluated twice (once
by
isupper
and once by the
_tolower
MACRO).
#define tolower(c) ((isupper(c)) ? _tolower(c) : (c))