Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Latest commit

 

History

History
66 lines (61 loc) · 3.53 KB

operators-and-symbols.md

File metadata and controls

66 lines (61 loc) · 3.53 KB
description
All supported operators and symbols supported in Versace are listed below.

Operators and Symbols

Operators

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

Symbols

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