Sign in to follow this  
Followers 0
runswit2guns

if statement?

2 posts in this topic

im sure this is posted somewhere and i apologize for asking about it, however, i did not know what to search for. the question.....i have an If statement, but i wanted to say If [something] and [something else] Then

what is the notation for the and part. is it simply "and" or is there a notation for it. thanks

Share this post


Link to post
Share on other sites



im sure this is posted somewhere and i apologize for asking about it, however, i did not know what to search for. the question.....i have an If statement, but i wanted to say If [something] and [something else] Then

what is the notation for the and part. is it simply "and" or is there a notation for it. thanks

I could be more specific with an answer if I could see a sample of the "if" you are currently working with, but the "And" operator should do what you request

If $Variable = 1 And $Variable2 = 2 then
;So something
Endif

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