I don't think so. With if/else:
could meanif a if b c else d
if a { if b { c } else { d } } or if a { if b { c } } else { d }
With the ternary operator that would be
a ? b ? c : d : () and a ? b ? c : () : d
so there's no abmbiguity.
In reply to Re^3: if/else syntax
by Crackers2
in thread if/else syntax
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |