< Rexx Programming < How to Rexx
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 */
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.