Page 1 of 1

Or bug?

Posted: Thu Mar 13, 2014 9:09 am
by billv
ScreenShot008.png
ScreenShot008.png (23.29 KiB) Viewed 8055 times

Why does hitting the test btn trigger the shuffle?..
or_bug.fsm
(1.72 KiB) Downloaded 821 times

Re: Or bug?

Posted: Thu Mar 13, 2014 9:55 am
by stw
because or 1 is always true in your syntax.
This should be right:

Code: Select all

if i==0 or i==1

Re: Or bug?

Posted: Thu Mar 13, 2014 1:06 pm
by billv
thanks mate. didn't think to try that.
Cheers.