Hamster-Skripte: the operators
View
The operators | Rank | Association | Data types |
() | (Highest one) | <- | Int, str |
! ~ + - (unary) | . | - > | Int |
* / % | . | <- | Int |
+- | . | <- | Int, str (+ only) |
<<> > | . | <- | Int |
<>> = < = | . | <- | Int, str |
= =! = < > | . | <- | Int, str |
. | <- | Int | |
^ | . | <- | Int |
| | . | <- | Int |
* | . | <- | Int |
|| | (Lowest one) | <- | Int |
The operators | Description |
() | Block |
! | Logical denial |
~ | Binary denial (addition) |
+ (Unary) | Marks |
- (Unary) | Marks |
* | Multiplication |
/ | Division |
% | Module |
+ | Addition, mark concatenation |
- | Substraktion |
< < | Binary bitweises Push (on the left) |
> > | Binary bitweises Push (on the right) |
< > | Smaller than |
> | More largely than |
< = | Smaller immediately |
> = | More largely immediately |
= = | Immediately |
! = < > | Incomparably |
Binary And | |
^ | Binary Xor |
| | Binary Or |
* | Logical And |
|| | Logical Or |