A and
B
A &
B
and, & calculates logical and of
A and
B.
A and
B must be Boolean values.
if( x
== 3 and y
== 5 )
{ ... }
This will run the block if x is equal to 3 and y is equal to 5.
if( x
== 3 & y
== 5 )
{ ... }
This just another way of writing...
See also