Jeremy Leach
Senior Member
Just want to check my understanding...
Suppose you have:
<code><pre><font size=2 face='Courier'>
If b0=1 OR b0=3 OR b0=7 AND b1=6 Then
<Code>
EndIf
</font></pre></code>
I think I'm right in saying the condition is processed left to right, so it progresses like this...
1. Evaluate b0=1 to True/False and store in current result.
2. Evaluate b0=3 to True/False and OR with current result to give new result.
3. Evaluate b0=7 to True/False and OR with current result to give new result.
4. Evaluate b1=6 to True/False and AND with current result to give new result.
Suppose you have:
<code><pre><font size=2 face='Courier'>
If b0=1 OR b0=3 OR b0=7 AND b1=6 Then
<Code>
EndIf
</font></pre></code>
I think I'm right in saying the condition is processed left to right, so it progresses like this...
1. Evaluate b0=1 to True/False and store in current result.
2. Evaluate b0=3 to True/False and OR with current result to give new result.
3. Evaluate b0=7 to True/False and OR with current result to give new result.
4. Evaluate b1=6 to True/False and AND with current result to give new result.