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 - != inequality operator (relational) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 !=                  Inequality operator (relational)
------------------------------------------------------------------------------
 Syntax
   <expr> != <expr>
   <expr> <> <expr>

 Arguments
   <expr> are expressions.

 Description
   The != operator is the opposite of the == (identical to) relational
   operator. This operator returns true if and only if the expression on
   the right does not equal the expression on the left.

   Of the relational operators, only equal to (=), identical to (==), and
   inequal to (!=, <>) may be applied to logical expressions.

 Example
   #define EXAMPLE_OPERATOR
   #include example.hdr

   proc Test_930
   vardef
      uint n
   enddef
   n := 0
   do while n != 5
      ? n
      n++
   enddo
   endproc

   proc main
   Test_930()
   endproc

See Also: ==

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