or: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added ArmA2)
(add. classification)
Line 43: Line 43:
[[Category:Scripting Commands ArmA|OR]]
[[Category:Scripting Commands ArmA|OR]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

Revision as of 01:33, 2 December 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