Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.06

Description

Description:Checks if the compared booleans are different.
  • true<>true or false<>false: returns false
  • true<>false or false<>true: returns true

Syntax

Syntax:a xor b
Parameters:
Return Value:Boolean

Alternative Syntax

Syntax:a <> b
Parameters:
Return Value:Boolean

Examples

Examples:
if ((alive tank2) xor (alive tank2)) then {hint "one tank left"} 
if ((alive tank2) <> (alive tank2)) then {hint "one tank left"} 

Additional Information

See also: Operators
Multiplayer: 
Problems: 

Notes