Jump to content
Sign in to follow this  
laffo16

Question about AND operation

Recommended Posts

laffo16

ok, my question is about the or & and operations.

If {condition1} = 1 or {condition2} = 2 and $string = "string" Then

i know that the AND operation only applies to {condition2}.

How about a "Andalso" operation which applies the operation to all conditions.

also, does != work for Not Equals? thanks 4 readin!

Edited by laffo16

Share this post


Link to post
Share on other sites
whim

IF $1 = 1 or $2 = 2 andalso $string = "string" Then

Try:

IF ($1 = 1 or $2 = 2) and ($string = "string") Then
Edited by whim

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  

×