How do I add more than one OR statement?
I currently have;
if(dT > 0.2 || dT < -0.2) {
how do I add another OR statement to it?
I want to add x=360
How do I add more than one OR statement?
I currently have;
if(dT > 0.2 || dT < -0.2) {
how do I add another OR statement to it?
I want to add x=360
if(dT > 0.2 || dT < -0.2 || x = 360)
Bzzzzzzzzzzt... shouldn't that be x == 360?
Ah thats where I was going wrong. I too was only using one '=' not two
Thanks for your help
BONG !
Yes, of course it should. In my defence he did say that he wanted x=360 and that is what he got !