IF Boolean_Logic = Inconsistent Then IsBug()

BlitzMax Forums/BlitzMax Programming/IF Boolean_Logic = Inconsistent Then IsBug()

Errr no I dont see how stupid that is. False is a real value of 0, True is a real value of 1

If I compare anything to true Im compareing it to 1

If x= true i.e. If x=1

On the other hand if I just

If x

Im asking if X is true. (Not equal to true, But True)

I think the fundimental problem is the differance between IS TRUE, and IS EQUAL to TRUE. A Difference that, (I am sorry to say), you havent yet grassped

If 10 Then Print "10 = True"

In this case you are asking if 10 is true, which it is, (What it is not is EQUAL to TRUE)