a != b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:




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





Revision as of 12:22, 30 June 2006


a != b


Operand types:

a: Number, Side, String, Object, Group, Structured Text, Config, Display or Control

b: Number, Side, String, Object, Group, Structured Text, Config, Display or Control

Type of returned value:

Boolean

Description:

a not equal to b


Examples:

counter != 4

side player != west

nameofplayer != "John Doe"

vehicle player != player

group player != group soldierOne

if (fuel truck1 != 1) then {hint "Truck1 has less than a full tank of fuel."}