ad777 Posted January 14, 2022 Share Posted January 14, 2022 iam currently using beta version,when i use this code it give that 2 bigger then 11; Local $num[5] = ["11","2","11","5","3"] MsgBox(0,"",$num[1]) MsgBox(0,"",$num[2]) IF $num[1] > $num[2] Then MsgBox(0,$num[1],$num[2]) EndIf iam ِAutoit programmer. best thing in life is to use your Brain to Achieve everything you want. Link to comment Share on other sites More sharing options...
Werty Posted January 14, 2022 Share Posted January 14, 2022 You are using strings, maybe... Local $num[5] = ["11","2","11","5","3"] MsgBox(0,"",$num[1]) MsgBox(0,"",$num[2]) IF Number($num[1]) > Number($num[2]) Then MsgBox(0,$num[1],$num[2]) EndIf ad777 1 Some guy's script + some other guy's script = my script! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now