11-16-2022, 09:52 PM
(This post was last modified: 11-16-2022, 10:00 PM by Kernelpanic.)
The problem with NOT is a hidden error for me. In any case, I personally have no comprehensible explanation for the results. Better for the one result. Why is an incorrect result returned at only one point?
PS: I've now tried everything I could think of again, the wrong result under No. 3 remains.
PS: I've now tried everything I could think of again, the wrong result under No. 3 remains.
Code: (Select All)
'NOT-Problem - 16. Nov. 2022
Option _Explicit
Dim As Integer a, b, c, d
a = 10
b = 20
c = 40
d = 15
Print
Print "1"
Print (Not a) And (Not b)
Print
Print "2"
Print (Not c)
Print
Print "3"
Print (Not a) And (Not d)
Print
Print "4"
Print (Not d)
Print
Print "5"
Print (Not b) And (Not c)
End