{"name":"BIS_fnc_bitwiseOR","operator":null,"title":"BIS fnc bitwiseOR","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_bitwiseOR","revid":328577,"updated":"2022-07-13T17:02:24Z","groups":["Bitwise"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.66"}],"since":{"game":"arma3","name":"Arma 3","version":"1.66"},"arma3_since":"1.66","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Performs bitwise OR operation on two decimal or hexadecimal unsigned 24 bit integers\n(Hexadecimal number representation is simply auto-converted into decimal by the engine)\n\n**Limitations**:\n\nDue to various limitations of the Real Virtuality engine this function is\nintended to work with unsigned 24 bit integers only. This means that the\nsupported range is 2^0...2^24 (1...16777216)","syntaxes":[{"syntax":"[num1, num2] call BIS_fnc_bitwiseOR","since":null,"effect":null,"exec":null,"params":[{"name":"num1","type":"Number","optional":false,"default":null,"description":"decimal or hexadecimal unsigned 24 bit integer","types":["Number"],"since":null,"text":"num1: Number - decimal or hexadecimal unsigned 24 bit integer"},{"name":"num2","type":"Number","optional":false,"default":null,"description":"decimal or hexadecimal unsigned 24 bit integer","types":["Number"],"since":null,"text":"num2: Number - decimal or hexadecimal unsigned 24 bit integer"}],"returns":{"type":"Number","types":["Number"],"description":"decimal number","text":"Number - decimal number"}}],"examples":[{"text":"```sqf\n[2 + 4 + 8 + 32, 1] call BIS_fnc_bitwiseOR; // 47\n[1 + 2 + 16 + 32, 4 + 8] call BIS_fnc_bitwiseOR; // 63\n[1 + 2 + 16 + 32, 4 + 32] call BIS_fnc_bitwiseOR; // 55\n[1 + 2 + 16 + 32, 16 + 32] call BIS_fnc_bitwiseOR; // 51\n```","code":["[2 + 4 + 8 + 32, 1] call BIS_fnc_bitwiseOR; // 47\n[1 + 2 + 16 + 32, 4 + 8] call BIS_fnc_bitwiseOR; // 63\n[1 + 2 + 16 + 32, 4 + 32] call BIS_fnc_bitwiseOR; // 55\n[1 + 2 + 16 + 32, 16 + 32] call BIS_fnc_bitwiseOR; // 51"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_bitwiseAND","BIS_fnc_bitwiseXOR","BIS_fnc_bitwiseNOT"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Bitwise","Functions","Introduced with Arma 3 version 1.66"],"docblock":null,"filled_from_docblock":[]}