a or b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|#]]
[[Category:Scripting Commands ArmA|#]]


back to [[Scripting_Reference#.23|COMREF]]
back to [[Scripting_Reference#|COMREF]]


<h2 style="color:#000066">''' ''a'' || ''b'' '''</h2>
<h2 style="color:#000066">''' ''a'' || ''b'' '''</h2>

Revision as of 16:15, 21 April 2006


back to COMREF

a || b


Operand types:

a: Boolean

b: Boolean

Type of returned value:

Boolean

Description:

a or b


Example:

? (not (canMove tank1) || not (canMove tank2)) : hint "Our armour is being immobilsed!"