Jump to content
  • 0

How can i make a conditional branch with Or/And


Dagobah

Question

Hello in programming when you use a condition you can use && and || to represent And and Or how can i use this same operations but with Conditional Branchs???
ejemp: Conditional Branch (variable = true && var2 = "hello"){

Do this

}else{

Do other thing

}

 

if i haven't exlpain well please let me know

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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
×
×
  • Create New...