a greater= b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
back to [[Scripting_Reference#.23|COMREF]]
back to [[Scripting_Reference#.23|COMREF]]


<h2 style="color:#000066">''' ''a''>=''b'' '''</h2>
<h2 style="color:#000066">''' ''a'' >= ''b'' '''</h2>
 


'''Operand types:'''
'''Operand types:'''
Line 15: Line 16:
'''Description:'''
'''Description:'''


a is greater than or equal to b  
a '''greater than or equal to''' b  




'''Example:'''
'''Example:'''


? ((fuel truck1) >= 0.5) : hint "Truck1 has at least half a tank of fuel left."
? (([[fuel]] truck1) '''>=''' 0.5) : [[hint]] "Truck1 has at least half a tank of fuel left."

Revision as of 19:30, 15 April 2006

back to COMREF

a >= b


Operand types:

a: Number

b: Number

Type of returned value:

Boolean

Description:

a greater than or equal to b


Example:

? ((fuel truck1) >= 0.5) : hint "Truck1 has at least half a tank of fuel left."