IF Boolean_Logic = Inconsistent Then IsBug()

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

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

For m = 0 To 2
	Print "*** Results for m="+m+" ***"
	If m = True 
		Print "(" + m + "= True) is True!"
	Else
		Print "(" + m + "= True) is False!"
	EndIf
		
	If m 
		Print m + " = True!"
	Else
		Print m + " = False!"
	EndIf
Next
	Print "*** Results for 0 *** "	

	If 0 = True 
		Print "(0 = True) is True!"
	Else
		Print "(0 = True) is False!"
	EndIf
	If 0 
		Print "0 = True!"
	Else
		Print "0 = False!"
	EndIf


	Print "*** Results for 1 *** "	

	If 1 = True 
		Print "(1 = True) is True!"
	Else
		Print "(1 = True) is False!"
	EndIf
	If 1 
		Print "1 = True!"
	Else
		Print "1 = False!"
	EndIf
	Print "*** Results for 2 *** "	

	If 2 = True 
		Print "(2 = True) is True!"
	Else
		Print "(2 = True) is False!"
	EndIf
	If 2 
		Print "2 = True!"
	Else
		Print "2 = False!"
	EndIf