Please never use "and" pascal-form but "&&". C-form for logical operators.

The precedence of "and" are different from && !