On 5/13/22 10:36 PM, Dale R. Worley wrote:
Robert Elz <k...@munnari.oz.au> writes:
Note particularly that there is no operator precedence between
&& and || - they are the same (unlike in C for example)
Reading your message, I believe that the rule can be stated as follows,
and I'd thank you to check it: && and || have the same precedence, and
they both "associate left". So for example
x && yy || zz
is equivalent (as a control structure) to
{ x && yy ;} || zz
Yes, this is correct.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/