1. This page is also available in 2 other languages

      !

      [Boolean Operators]

      Description

      Logical NOT results in a true if the operand is false and vice versa.

      Example Code

      This operator can be used inside the condition of an if statement.

      if (!x) { // if x is not true  // statements}

      It can be used to invert the boolean value.

      x = !y; // the inverted value of y is stored in x

      Notes and Warnings

      The bitwise not ~ (tilde) looks much different than the boolean not ! (exclamation point or "bang" as the programmers say) but you still have to be sure which one you want where.

      See also

          1. http://www.vw0omrdd.tw | http://m.vw0omrdd.tw | http://wap.vw0omrdd.tw | http://3g.vw0omrdd.tw | http://4g.vw0omrdd.tw | http://5g.vw0omrdd.tw | http://mobile.vw0omrdd.tw | http://vip.vw0omrdd.tw | http://ios.vw0omrdd.tw | http://anzhuo.vw0omrdd.tw | http://a7.vw0omrdd.tw | http://d546.vw0omrdd.tw | http://48.vw0omrdd.tw | http://78.vw0omrdd.tw | http://18bc99.vw0omrdd.tw | http://92e2.vw0omrdd.tw | 宝贝真乖全书阅读全文