Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Order of Evaluation z/OS TSO/E REXX User's Guide SA32-0982-00 |
|
When
you have more than one operator in an arithmetic expression, the order
of numbers and operators can be critical. For example, in the following
expression, which operation does the language processor perform
first?
Proceeding from left to right, it is evaluated as follows:
Arithmetic operator priority is as follows, with the highest first: Arithmetic Operator Priority
Thus the preceding example would be evaluated in the following
order:
|
Copyright IBM Corporation 1990, 2014
|