idoru Posted September 18, 2009 Posted September 18, 2009 Hi Guys, Just a quickie, will this expressionWhile $idfilename = "" And $count < 3 Or $check = 0 And $count < 3work like thisWhile ($idfilename = "" And $count < 3) Or ($check = 0 And $count < 3)are parenthesis needed? Can't find this in the help file as of course it doesnt let you search for AND and OR Cheers
jvanegmond Posted September 18, 2009 Posted September 18, 2009 The page "Language Reference - Operators" from the help file deals with these questions.When more than one operator is used in an expression the order in which things happen is controlled by operator precedence. The precedence used in AutoIt is given below. Where two operators have the same precedence the expression is evaluated left to right.From highest precedence to lowest: NOT ^ * / + - & < > <= >= = <> == AND OR github.com/jvanegmond
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