I'd stared at this option a long time, and finally had to write out the truth table to fully see that this is not the same as the conditions originally put forth.
Original code truth table: wfsp's code truth table:
Condition1 Condition2 Execute Condition1 Condition
+2 Execute
---------- ---------- ----------- ---------- ---------
+- -----------
True True Block1 True True
+ Block1
True False Block2 True False
+ Block2
False True Block2 False True
+ none
False False Block2 False False
+ Block2
Also, since Block2 seems, in this generic example, to be the more important block of code, the unless form of the statement helps point that out (as I'd used in my original reply above)...
-Scott | [reply] [d/l] |
5mi11er++
I'd stared at this option a long time...
So did I - but not long enough!
Thanks for straightening it out.
John
| [reply] |
| [reply] |