Sign in to follow this  
Followers 0
laffo16

Question about AND operation

2 posts in this topic

#1 ·  Posted (edited)

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



#2 ·  Posted (edited)

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  
Followers 0