Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Comparison Operators z/OS TSO/E REXX User's Guide SA32-0982-00 |
|
Expressions that use comparison operators do not return a number
value as do arithmetic expressions. Comparison expressions return
either a true or false response in terms of 1 or 0 as follows:
Comparison operators can compare numbers or strings and ask questions,
such as:
For example, if A = 4 and B = 3, then the results of the previous
comparison questions are:
The more commonly used comparison operators are as follows:
Note: The not character, "¬", is synonymous with the backslash
("\"). The two characters may be used interchangeably according to
availability and personal preference. This book uses the backslash
("\") character.
|
Copyright IBM Corporation 1990, 2014
|