Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Basic - <b>- subtraction/negation operator</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
-                        Subtraction/Negation Operator

    Subtraction

 exp1 - exp2

    The - operator performs subtraction. If the expression involves
    operands of more than one precision, all operands are converted to the
    same level--that of the highest-precision operand in the expression--
    before the expression is evaluated.

   exp1,exp2    Any numeric expression.



    Negation

 - exp1

    As a unary operator (placed before a single numeric expression),
    - performs negation; that is, it reverse the sign of its operand.

        exp1    Any numeric expression.

See Also: ^^ * / \ MOD + Precedence

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