a less b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|#]]
[[Category:Scripting Commands|#]]
[[Category:Scripting Commands OFP 1.97|#]]
[[Category:Scripting Commands OFP 1.96|#]]
[[Category:Scripting Commands OFP 1.46|#]]
[[Category:Scripting Commands OFP 1.46|#]]
[[Category:Scripting Commands ArmA|#]]
[[Category:Scripting Commands ArmA|#]]

Revision as of 20:28, 1 June 2006


a < b


Operand types:

a: Number

b: Number

Type of returned value:

Boolean

Description:

a less than b


Example:

if (fuel truck1 < 0.5) then {hint "Truck1 has less than half a tank of fuel left."}