I want to call a sub routine if a variable is zero OR 5 and another variable is 1
that is if b8=0 and flag=0 then gosub also if b8=5 and flag=0
Also would this work to re-set flag for b8 values of 1,2,3,4 - 6,7,8 or 9
It passes the syntax but I just don't feel comfortable with it.
Code:
if b8=0 or b8=5 and flag=0 then gosub count_it
Also would this work to re-set flag for b8 values of 1,2,3,4 - 6,7,8 or 9
Code:
if b8<>0 and b8<>5 then let flag=0