2 Replies Latest reply on Nov 2, 2006 12:06 PM by TimSymons

    Combining && and ||

    VaporAction
      Is this a viable piece of script?

      if (((variable1a == true) || (variable1b == true)) && ((variable2a == true) || (variable2b == true)) && (variable3 == true) && (variable4 == true)) {
      //insert code here

      I wasn't sure if you can combine all those and/or statements like that?