It has been my habit of long standing to use the word forms of the logical operators (and, or and not) purely for control flow and to use the symbolic forms (&&, || and !) for comparing values within an expression. This makes precedence bugs of the kind you have reported here much less frequent.
HTH.
🦛
In reply to Re: Useless use of string in return statement
by hippo
in thread Useless use of string in return statement
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |