4 Replies Latest reply on May 10, 2007 10:43 AM by cre8ive1974

    && operator

    cre8ive1974 Level 1
      Is it possible to have a 3 expressions be true before something happens, or can it only be 2 expressions?

      for example..

      if (_global.My1 == 1 && _global.My2 == 2 && _global.My3 == 3) {
      //do something.

      I tried it, but it didn't work, but it didn't give me an error either, so not sure if I'm typing it right.

      Thanks!
      D