📬❄️📦Adafruit Holiday Shipping Deadlines 2019: Please place all UPS 3 Day orders by 11am ET Friday December 13 📬❄️📦
0

real simple syntax question
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

real simple syntax question

by thefatmoop on Sat Oct 25, 2008 10:51 pm

ok so

Code: Select all | TOGGLE FULL SIZE
if(servoHour[tempHour] != hHour && servoTenMin[tensMinute] != lMinute


&& means "condition and condition" what is "or"?
thefatmoop
 
Posts: 352
Joined: Tue Aug 19, 2008 4:36 pm

Re: real simple syntax question

by oPossum on Sat Oct 25, 2008 11:05 pm

&& boolean AND
|| boolean OR

& bitwise AND
| bitwise OR
^ bitwise XOR
I am the Possum, and I approve of this message. Sent from MacBook Wheel Sorry for my bad German.
oPossum
 
Posts: 636
Joined: Fri Oct 26, 2007 12:42 am
Location: Michigan, USA

Please be positive and constructive with your questions and comments.