Operators
Next: Loops,
Previous: Conditionals,
Index: Index
There are a number of bit and mathematical operators which the language supports, these are common language operators.
Mathematical
Operator |
Semantics |
+ |
Addition |
+ |
Minus |
* |
Multiplication |
% |
Division |
Bit
Operator |
Semantics |
<< |
Bit shift left |
>> |
Bit shift right |
When using operators it is best to have a clear space between the operator and the variables/values around it - otherwise it might cause a syntactic error. I.e. use a + b rather than a+b.
Last Modified: August 2008