BitOr: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Server client function}} {{Needs_Example}} __NOTOC__ {{New feature/item|3.0140|1.4|5285| This function performs a bitwise OR-conjunction on two or more (unsigned) 32-bit [[Int|...")
 
(Fixed version)
Line 2: Line 2:
{{Needs_Example}}
{{Needs_Example}}
__NOTOC__
__NOTOC__
{{New feature/item|3.0140|1.4|5285|
{{New feature/item|3.0132|1.3.2|5340|
This function performs a bitwise OR-conjunction on two or more (unsigned) 32-bit [[Int|integers]]. See [http://en.wikipedia.org/wiki/Bitwise_operation#OR Bitwise operation] for more details.
This function performs a bitwise OR-conjunction on two or more (unsigned) 32-bit [[Int|integers]]. See [http://en.wikipedia.org/wiki/Bitwise_operation#OR Bitwise operation] for more details.
}}
}}

Revision as of 12:07, 2 June 2013

Accessories-text-editor.png Script Example Missing Function BitOr needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.


This function performs a bitwise OR-conjunction on two or more (unsigned) 32-bit integers. See Bitwise operation for more details.

Syntax

uint bitOr ( uint var1, uint var2, ... )

Required arguments

  • varN: The value you want to perform an OR-conjunction on

Returns

Returns the conjuncted value.

Example

ToDo

See Also