GodForsakenSoul Posted March 13, 2008 Share Posted March 13, 2008 (edited) i have come up with a 'genius' plan to do something i want. however, there's a small problem: i need to use IF to check a few things and if they all are correct, it would do something. like in c++ ----------------and------------and -----------------v---------------v if((statement)&&(statement)&&(statement)) { do whatever } the help file doesn't say i can or can not do such a thing. help? edit: i do hope it exists because i want to do alot of if this and this and this and this.... Edited March 13, 2008 by GodForsakenSoul Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 13, 2008 Moderators Share Posted March 13, 2008 i have come up with a 'genius' plan to do something i want. however, there's a small problem: i need to use IF to check a few things and if they all are correct, it would do something. like in c++----------------and------------and-----------------v---------------vif((statement)&&(statement)&&(statement)){ do whatever }the help file doesn't say i can or can not do such a thing. help?If conditon = conditiontomeet And condition1 = conditionnottomeet Then Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Siao Posted March 14, 2008 Share Posted March 14, 2008 the help file doesn't say i can or can not do such a thing. help?Wow, this means I got a special edition of helpfile somehow.Because in If...Then reference it clearly states:The expression can contain the boolean operators of AND, OR, and NOT as well as the logical operators <, <=, >, >=, =, ==, and <> grouped with parentheses as needed.Now I only need to find out how I got that special helpfile, so I can share it with others... "be smart, drink your wine" Link to comment Share on other sites More sharing options...
Squirrely1 Posted March 14, 2008 Share Posted March 14, 2008 the help file doesn't say...Look in the help file under: AutoIt > Language Reference > OperatorsAnd look at example code all over the forums. Das Häschen benutzt Radar 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