MasonMill Posted December 31, 2009 Share Posted December 31, 2009 Hey Guys,Easy question for ya. Where in the help file do i look for, If (expression) and another (expression) are true then... Else if is if its either one of the other but what command do i use if i have 2 things that need to be true to make the Then statement fire? Can i just use And? Thanks! Link to comment Share on other sites More sharing options...
Developers Jos Posted December 31, 2009 Developers Share Posted December 31, 2009 Is that what the Helpfile states already when reading the page about If...Then? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted December 31, 2009 Share Posted December 31, 2009 Language Reference - Conditional Statements - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
MasonMill Posted December 31, 2009 Author Share Posted December 31, 2009 I cant find where it says where both conditions have to be met in order for the then statement to start. I only see where its one or the other. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted December 31, 2009 Share Posted December 31, 2009 AND OR NOT - Language Reference - Operators - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
MasonMill Posted December 31, 2009 Author Share Posted December 31, 2009 im sorry i should have quoted the other guys post, didnt even see yours. thanks! Link to comment Share on other sites More sharing options...
Developers Jos Posted December 31, 2009 Developers Share Posted December 31, 2009 (edited) im sorry i should have quoted the other guys post, didnt even see yours. thanks!but what "The other guy" said was correct as well. It does state the following in the helpfile on the If...Then page:The expression can contain the boolean operators of AND, OR, and NOT as well as the logical operators <, <=, >, >=, =, ==, and <> grouped with parentheses as needed. Edited December 31, 2009 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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