NOT Problem
#1
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.

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

[Image: NOT-Problem.jpg]
Reply


Messages In This Thread
NOT Problem - by Kernelpanic - 11-16-2022, 09:52 PM
RE: NOT Problem - by mnrvovrfc - 11-16-2022, 10:25 PM
RE: NOT Problem - by Jack - 11-16-2022, 10:56 PM
RE: NOT Problem - by RhoSigma - 11-16-2022, 11:06 PM
RE: NOT Problem - by SMcNeill - 11-16-2022, 11:39 PM
RE: NOT Problem - by CharlieJV - 11-16-2022, 11:58 PM
RE: NOT Problem - by bplus - 11-16-2022, 11:36 PM
RE: NOT Problem - by Jack - 11-16-2022, 11:41 PM
RE: NOT Problem - by bplus - 11-16-2022, 11:43 PM
RE: NOT Problem - by Kernelpanic - 11-17-2022, 09:41 PM



Users browsing this thread: 7 Guest(s)