description |
---|
All supported operators and symbols supported in Versace are listed below. |
Operator | Description |
---|---|
+= |
Incrment by |
-= |
Decrement by |
*= |
Multiply by |
/= |
Divide by |
%= |
Modulo by |
= |
Assign |
== |
Equal to |
!= |
Not equal to |
> |
Greater than |
< |
Less than |
>= |
Greater than or equal to |
<= |
Less than or equal to |
&& |
And |
|| |
Or |
! |
Not |
++ |
Increment (can only be used in for loops) |
-- |
Decrement (can only be used in for loops) |
** |
Multiply by self (can only be used in for loops) (Very Dangerous) |
// |
Divide by self (can only be used in for loops) (Very Dangerous) |
+ |
Add |
- |
Subtract |
* |
Multiply |
/ |
Divide |
% |
Modulo |
^ |
Power |
& |
Bitwise and |
| |
Bitwise or |
~ |
Bitwise not |
<< |
Bitwise left shift |
>> |
Bitwise right shift |
>>> |
Bitwise unsigned right shift |
Symbol | Description |
---|---|
True |
True |
False |
False |
NULL |
Null (same as None ) |
: |
Colon |
:: |
Sub-Object Call |
, |
Comma |
; |
Semicolon |
( |
Left parenthesis |
) |
Right parenthesis |
[ |
Left bracket |
] |
Right bracket |
{ |
Left brace |
} |
Right brace |
@ |
At |
? |
Question mark |
! |
Exclamation mark |
" |
Double quote |
/ |
Slash |
\ |
Backslash |
| |
Pipe |