Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QuickBASIC 3.0 - <b><> not equal to operator</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
<>                       Not Equal to Operator

 exp1 <> exp2

    <> is a relational operator. If exp1 has a value different from that
    of exp2, the result of exp1 <> exp2 is -1; otherwise the result is 0.
    In IF statements, BASIC regards 0 as equivalent to FALSE and all
    nonzero values as equivalent to TRUE.

   exp1,exp2    Any numeric or string expression, but exp1 and exp2 must
                either both be numeric or both be strings; otherwise a
                Type Mismatch error occurs.

See Also: = < > <= >= Precedence

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