or: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Added ArmA2)
Line 42: Line 42:
[[Category:Scripting Commands OFP 1.46|OR]]
[[Category:Scripting Commands OFP 1.46|OR]]
[[Category:Scripting Commands ArmA|OR]]
[[Category:Scripting Commands ArmA|OR]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 13:10, 3 June 2009

Hover & click on the images for description

Description

Description:
a or b Identical to ||
Groups:
Uncategorised

Syntax

Syntax:
Boolean = a or b
Parameters:
a: Number
b: Number
Return Value:
Boolean

Examples

Example 1:
if ((OBJ1) or (_enemycount=>0)) then {hint "you win"}

Additional Information

See also:
a bandOperators

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section