﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
3774	Comparisons with Null wrong for <= and >=	AlanParry	Jpm	"If one runs this

{{{
if Null =  3 Then ConsoleWrite(""=""  & @CRLF)
if Null <  3 Then ConsoleWrite(""<""  & @CRLF)
if Null >  3 Then ConsoleWrite("">""  & @CRLF)
if Null <= 3 Then ConsoleWrite(""<="" & @CRLF)
if Null >= 3 Then ConsoleWrite("">="" & @CRLF)
if Null <> 3 Then ConsoleWrite(""<>"" & @CRLF)
if Null == 3 Then ConsoleWrite(""=="" & @CRLF)
}}}

then <= and >= are True, which can't be what's expected.  Why would <= be true when < and = are both false?

Has  a <= b  been implemented as  Not(a > b) perhaps?  That may be the problem.

(Also the result for <> is questionable as some other languages would give that as false, but I am happy with autoit's choice in that case, and changing <> is probably a script breaker)

Tested on 3.3.14.5 and 3.3.15.3

Alan
"	Bug	closed	3.3.15.4	AutoIt	3.3.14.5	None	Fixed		
