411 REFERENCE · Wikibooks
Rexx Programming/How to Rexx/case sensitivity
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Identifiers and keywords
The 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
Lettercase is preserved within literal strings:
say 'Hello!' /* Hello! */
SAY 'HELLO!' /* HELLO! */
Comparison of Strings
In 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 */