or: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(corrected example)
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> [[Boolean]] '''or''' [[Boolean]] |= Syntax
| [[Boolean]] <nowiki>=</nowiki> a '''or''' b |= Syntax
 
|p1= a: [[Number]] |= Parameter 1
 
|p2= b: [[Number]] |= Parameter 2


| [[Boolean]] |= Return value
| [[Boolean]] |= Return value

Revision as of 00:12, 24 January 2009

Hover & click on the images for description

Description

Description:
a or b
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