Trying to write:-
If b0 = 1 TO 5 OR b1 = 6 TO 10 OR b2 = 131 TO 136 OR b3 = 212 TO 218 then b4 = "Y": b5 = "2": End If
But the editor gets hung up at the '5'. I'm not sure if I'm also supposed to nest 'OR's in parentheses?
What is the syntax for testing multiple variables for ranges of values? Is there one?
Thanks
If b0 = 1 TO 5 OR b1 = 6 TO 10 OR b2 = 131 TO 136 OR b3 = 212 TO 218 then b4 = "Y": b5 = "2": End If
But the editor gets hung up at the '5'. I'm not sure if I'm also supposed to nest 'OR's in parentheses?
What is the syntax for testing multiple variables for ranges of values? Is there one?
Thanks