You can of course also use the actually words 'and' and 'or', but I believe they have different precedence compared to the symbol forms.# and syntax if (($i > 0) && ($i < 40)) { # do something } # or syntax if (($i >0) || ($i < 40)) { # do something }
In reply to Re: or syntax
by emilford
in thread or syntax
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |