a != 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:'''


? ((fuel truck1) '''!=''' 1) : hint "Truck1 has less than a full tank of fuel."
? (([[fuel]] truck1) '''!=''' 1) : [[hint]] "Truck1 has less than a full tank of fuel."

Revision as of 19:28, 15 April 2006

back to COMREF

a != b


Operand types:

a: Boolean

b: Boolean

Type of returned value:

Boolean

Description:

a not equal to b


Example:

? ((fuel truck1) != 1) : hint "Truck1 has less than a full tank of fuel."