![]() |
ArkScript
A small, fast, functional and scripting language for video games
|
For bitwise operations.
Right shifts a given number.
Parameters
number
: the number to shiftshift
: shifting to doReturn value Number
Author
Example
Left shifts a given number.
Parameters
number
: the number to shiftshift
: shifting to doReturn value Number
Author
Example
Xor a number given a mask.
Parameters
number
: the number to xormask
: the mask as a numberReturn value Number
Author
Example
Compute the bitwise a OR b
operation.
Parameters
a
: first numberb
: second numberReturn value Number
Author
Example
Compute the bitwise a AND b
operation.
Parameters
a
: first numberb
: second numberReturn value Number
Author
Example