Jump to content

if this AND this, do that


Recommended Posts

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 by GodForsakenSoul
Link to comment
Share on other sites

  • Moderators

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?

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...