As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.
Here are some tips for How to share your SAS knowledge with your professional network.
Tips:DATA Step Comparison Operators Are Non-Associative
In a DATA step, a logical expression like:
x < y < z < a
is evaluated as in math. i.e., it is equivalent to:
x < y and y < z and z < a
In macros, i.e., within %eval() or %sysevalf(), the comparison operators are left-associative. i.e., the above is equivalent to:
((x < y) < z) < a