Rexx Programming/How to Rexx/case sensitivity

Identifiers and keywords edit

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 edit

Lettercase is preserved within literal strings:

say 'Hello!'  /* Hello! */
SAY 'HELLO!'  /* HELLO! */

Comparison of Strings edit

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 */