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 - + positive sign (unary) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 +                   Positive sign (unary)
------------------------------------------------------------------------------
 Syntax
   +nNumber

 Arguments
   nNumber is a signed numeric expression.

 Description
   The + operator is a redundant complement to the numeric sign negation
   (-) operator. It does not affect the sign of the numeric operand.

 Example
   #define EXAMPLE_OPERATOR
   #include example.hdr

   proc Test_916
   ? 123                     // prints 123
   ? +123                    // no difference
   ? 1 + ( +1 )              // prints 2
   endproc

   proc main
   Test_916()
   endproc

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