💾 Archived View for rawtext.club › ~s0kx › pure-sh-bible › arithmetic-operators.gmi captured on 2022-07-16 at 14:41:44. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-03)
-=-=-=-=-=-=-
Initialize or change the value of a variable.
=
Addition
+
Subtraction
-
Multiplication
Division
/
Modulo
%
Plus-Equal (Increment a variable.)
+=
Minus-Equal (Decrement a variable.)
-=
Times-Equal (Multiply a variable.)
Slash-Equal (Divide a variable.)
/=
Mod-equal (Remainder of dividing a variable.)
%=
Bitwise left shift.
<<
Left-shift-equal.
<<=
Bitwise right shift.
>>
Right-shift-equal.
>>=
Bitwise AND
&
Bitwise AND-equal
&=
Bitwise OR
|
Bitwise OR-equal
|=
Bitwise NOT
~
Bitwise XOR
^
Bitwise XOR-equal
^=
NOT
!
AND
&&
OR
||
Comma separator
,
Example usage:
((a=1,b=2,c=3))