if ((time < 4) || (time > 10))}
val = aVariable}
else val=0;
What I end up with is zero until 4 but after 10 the val does not return to 0.
I hope this makes sense to somebody out there. I just went back to a stack of if else statements to solve the problem.
Thanks
if ((time < 4) || (time > 10)){
0
}else{
100
}
Dan
When I'm coding at 3AM i tend to make silly type-os... and omissions!
Rick