or: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
m (VBS2 scripting category removal)
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 05:16, 19 July 2011

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