Rexx Programming/How to Rexx/case sensitivity
Identifiers and keywords
editThe rexx interpreter is case insensitive. This means that identifier names and keywords containing lowercase letters are considered to be the same as those containing uppercase letters:
/* These variables are all the same */
count = 1 Count = COUNT + 1 say count
Literal Strings
editLettercase is preserved within literal strings:
say 'Hello!' /* Hello! */ SAY 'HELLO!' /* HELLO! */
Comparison of Strings
editIn rexx, the comparative operators are case sensitive , so strings containing differing letter cases will not be interpreted as matching strings:
if "abc" = "ABC" then say "The strings are the same!" /* This does not happen because the strings are not the same */