KaLu17

isupper / islower

Apr 21st, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.17 KB | None | 0 0
  1. #define isupper(%1) \
  2.         (((%1) > 0x60 && (%1) <= 0x7A) ? ((%1) ^ 0x20) : (%1))
  3. #define islower(%1) \
  4.         (((%1) > 0x40 && (%1) <= 0x5A) ? ((%1) | 0x20) : (%1))
Advertisement
Add Comment
Please, Sign In to add comment