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



Introduced in

Version:1.00

Description

Description:Checks if both of the compared values are true.

Syntax

Syntax:a and b
Parameters:
  • a: A test condition or variable that return a Boolean value
  • b: A test condition or variable that return a Boolean value
Return Value:Boolean

Alternative Syntax

Syntax:a && b
Parameters:
  • a: A test condition or variable that return a Boolean value
  • b: A test condition or variable that return a Boolean value
Return Value:Boolean

Examples

Examples:
if ((alive tank1) and (alive tank2)) then {hint "Both tanks still left"}
if ((alive tank1) && (alive tank2)) then {hint "Both tanks still left"}

Additional Information

See also: Operators
Multiplayer: 
Problems: 

Notes