Difference between revisions of "Bit32.bor"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2022.3<br/> '''Class:''' bit32<br/> === Description === Returns the bitwise ''or'' of its operands. <source lang="lua"> (number)...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(2 intermediate revisions by 2 users not shown)
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>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===
'''numbers''': (number) multiple values<br/>
+
'''numbers''': (number) multiple values (tuple)<br/>
  
 
=== Return values ===
 
=== Return values ===

Latest revision as of 14:27, 13 July 2023

Available since: Gideros 2022.3
Class: bit32

Description

Returns the bitwise or of its operands.

(number) = bit32.bor(numbers)

Parameters

numbers: (number) multiple values (tuple)

Return values

Returns (number) result

See also

Bitwise Operators