[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
not                      Logical and Bitwise Unary Complement Operator

 not <bool exp> { Logical complement }
 not <int exp>  { Bitwise complement }                                   [TP]

    The unary operator NOT complements or inverts the value of the
    expression in front of which it appears. If it is a boolean
    expression, then NOT converts TRUE to FALSE and FALSE to TRUE. If it
    is an integer expression, then NOT complements each bit of the value,
    changing each 0 to 1 and each 1 to 0.

         <bool exp>   Any Boolean expression, yielding a TRUE or FALSE
                      value.

          <int exp>   Any Integer expression, yielding a 16-bit integer
                      value.

  -------------------------------- Example ---------------------------------

           while not Found do ...
           I := not $048F;          { I = $FB70 }

See Also: and or xor
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson