Difference between revisions of "Bit32.bor"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Returns the bitwise ''or'' of its operands.
 
Returns the bitwise ''or'' of its operands.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = bit32.bor(numbers)
 
(number) = bit32.bor(numbers)
 
</source>
 
</source>

Revision as of 14:26, 13 July 2023

Available since: Gideros 2022.3
Class: bit32

Description

Returns the bitwise or of its operands. <syntaxhighlight lang="lua"> (number) = bit32.bor(numbers) </source>

Parameters

numbers: (number) multiple values (tuple)

Return values

Returns (number) result

See also

Bitwise Operators