last left side and comparison reapply
reset: ?
A chain of logically linked conditions
can be written in a shorter form,
as the last left side and comparison type
are re-applied if omitted:
Eas:
a=1|>5,<=10
a#2,3,8
a=b|c|d=e|f
a<32|#195,196
JS:
a==1||a>5&&a<=10
a!=2&&a!=3&&a!=8
a==b||a==c||d==e||d==f
a<32||a!=195&&a!=196
To reset this behavior,
start the next term with a
question mark:
JS:
a==b||a==c||a==d
a==b||a==c||d
An opening
parentheses directly after
a Boolean logical operator also
resets the condition:
a=b,(c=d|e) = a=b,?(c=d|e)
a=b,(c) = a=b,?c
If a comparison follows the question mark,
there is no reset, however.
JS:
a==b||a==c||a==d
a==b||a==c||a<d