a or b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 22: Line 22:
a '''or''' b  
a '''or''' b  


See also [[or]]
See also '''[[or]]'''





Revision as of 17:07, 21 May 2006


a || b


Operand types:

a: Boolean

b: Boolean

Type of returned value:

Boolean

Description:

a or b

See also or


Example:

if (not (canMove tank1) || not (canMove tank2)) then {hint "Our armour is being immobilsed!"}