07-27-2022, 07:03 PM
A IMP B is *always* going to be true if B is non-zero. It's also *always* going to be true if A is anything except negative one.
The *only* time A IMP B is *false* is when A = -1 *AND* B = 0.
Any other combination of values will evaluate to TRUE.
I still hold that it's much less confusing to just write an (IF check for A = -1 AND B = 0 THEN) than it is for (IF A IMP B THEN) statement.
The *only* time A IMP B is *false* is when A = -1 *AND* B = 0.
Any other combination of values will evaluate to TRUE.
I still hold that it's much less confusing to just write an (IF check for A = -1 AND B = 0 THEN) than it is for (IF A IMP B THEN) statement.