Go to the first, previous, next, last section, table of contents.


Numeric Operators

These operators are fairly self explanatory. The +, -, /, and * operators respectively add, subtract, multiply, and divide two values. The ++ and -- unary operators respectively add and subtract one to their operand (they don't modify the operand in place like C, so ++a is invalid, use ++a >> a instead). They can only be used with numeric operands, with the exception of + which can also be used with string operands. The +, ++, -, and -- operators can also be used with date operands, where they add or subtract days (or add or subtract two dates).


Go to the first, previous, next, last section, table of contents.