Sign in to follow this  
Followers 0
MasonMill

If then

7 posts in this topic

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!

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

im sorry i should have quoted the other guys post, didnt even see yours. thanks!

Share this post


Link to post
Share on other sites

#7 ·  Posted (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 by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0