a greater b: Difference between revisions

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


? (([[fuel]] truck1) '''>''' 0) : [[hint]] "Truck1 has some fuel left."
[[if]] ([[fuel]] truck1 '''>''' 0) [[then]] {[[hint]] "Truck1 has some fuel left."}

Revision as of 16:57, 21 May 2006


a > b


Operand types:

a: Number

b: Number

Type of returned value:

Boolean

Description:

a greater than b


Example:

if (fuel truck1 > 0) then {hint "Truck1 has some fuel left."}