Jump to content

if statement?


Recommended Posts

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

Link to comment
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
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...