Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Multiple OR's


bKlippert Apr 23, 2014 05:32 AM

Hello,


I need confirmation if the following evaluation will work as intended (I do not have the hardware with me to test).


If Boolean(1) OR Boolean(2) OR Boolean(3) OR Boolean(4) OR Boolean(5) OR Boolean(6) OR Boolean(7) OR Boolean(8) Then
Flag = True
Else
Flag = False
EndIf


EarlyBird Apr 23, 2014 06:24 AM

I use

Flag = False
For I=1 to 8
If Boolean(I)then Flag=True
Next

Log in or register to post/reply in the forum.