Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - .not. logical not operator (unary) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 .not.               Logical NOT operator (unary)
------------------------------------------------------------------------------
 Syntax
   .not. <expr>

 Arguments
   <expr> is a logical expression.

 Description
   The .not. operator performs a logical inversion on its operand.
   If <expr> has a value of .f., then .not. <expr> has a value of .t., and
   vice versa.

 Example
   #define EXAMPLE_OPERATOR
   #include example.hdr

   proc Test_914
   ? .not. .t.                // prints .F.
   ? .not. .f.                // prints .T.
   ? .not. 1 > 2              // prints .T.
   ? .not. 2 > 1              // prints .T.
   endproc

   proc main
   Test_914()
   endproc

See Also: .and. .or. not()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson