﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1214	InputBox() vs. date macros	admin@…		"I stumbled across an issue while trying to use conditional statements to compare date macros and values entered through InputBox(). Run the script below and see yourself. You'll only get a correct result if you enter either 0 or 1.

{{{
$val1 = @MON
$val2 = InputBox ( ""test"", ""Just press enter here."" & @CR & @CR & ""For your information: $val1 = @MON = "" & $val1 & @CR & @CR & ""The value below is: $val2 = @MON-3 = "" & (@MON-3), @MON-3 )
If $val1 > $val2 Then MsgBox ( 0, ""Result"", ""$val1 > $val2  :  "" & $val1 & "" > "" & $val2 & @CR & @CR & ""$val1 is bigger. Perfect! :)"" )
If $val2 > $val1 Then MsgBox ( 0, ""Result"", ""$val2 > $val1  :  "" & $val2 & "" > "" & $val1 & @CR & @CR & ""AutoIt defines $val2 as bigger!??"")
}}}

Environment = 3.3.0.0 under  WIN_XP/Service Pack 3 X86"	Bug	closed		AutoIt	3.3.0.0	None	No Bug		
