Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Or bug?

For general discussion related FlowStone

Or bug?

Postby billv » Thu Mar 13, 2014 9:09 am

ScreenShot008.png
ScreenShot008.png (23.29 KiB) Viewed 6890 times

Why does hitting the test btn trigger the shuffle?..
or_bug.fsm
(1.72 KiB) Downloaded 726 times
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: Or bug?

Postby stw » Thu Mar 13, 2014 9:55 am

because or 1 is always true in your syntax.
This should be right:
Code: Select all
if i==0 or i==1
stw
 
Posts: 111
Joined: Tue Jul 13, 2010 11:09 am

Re: Or bug?

Postby billv » Thu Mar 13, 2014 1:06 pm

thanks mate. didn't think to try that.
Cheers.
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia


Return to General

Who is online

Users browsing this forum: No registered users and 28 guests