I want to set multiple conditions for an if statement, but I don’t want the conditions to all have to be true, I want to say if (a or b or c or d, etc. is true) then do this. I don’t want to say if (a && b && c && d, etc. is true). Is it possible to have an if statement with an “or” in the condition? If so, what’s the proper syntax for that?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| 
              
              
                Puzzled! if statement with multiple conditions
              
               | 
            0 | 75 | May 18, 2005 | |
| [MX] Multiple "IF" conditions? | 1 | 64 | June 3, 2003 | |
| 
              
              
                Multiple conditions
              
               | 
            0 | 56 | April 7, 2008 | |
| 
              
              
                If + If + !If
              
               | 
            0 | 44 | November 1, 2003 | |
| If + If + !If | 1 | 46 | November 1, 2003 |