07-27-2022, 05:22 PM
Where A = 10 : B = 10 : the Math statement of A = B .. in math, it is a TRUE statement, only if A = B
Where A = 10 : B = 10 : the Logic statement of A IMP B .. in logic, seems it TRUE all the time
Where A = 10 : B = 10 : the Logic statement of A IMP B .. in logic, seems it TRUE all the time
Code: (Select All)
FOR x = 1 TO 5
FOR y = 1 TO 5
IF x = y THEN z = -1 ELSE z = 0
IF x IMP y THEN w = -1 ELSE w = 0
PRINT z, w
NEXT
NEXT