a or b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
'''Example:'''
'''Example:'''


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

Revision as of 14:27, 19 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!"