param1 != param2

Operand types

param1: ----
param2: ----

Type of returned value

Description

Check if two parameter values are different.
param1 and param2 can be one of the following types:

Config - config1 != config2: Checks whether two config entries are not the same.

Control - controlA != controlB: Checks whether two controls are not the same.

Display - display1 != display2: Checks whether two displays are not the same.

Structured Text - txt1 != txt2: Checks whether two structured text values are not the same.

Used In

ArmA

Example

if _controlA != _controlB then {c = 0}
Search OFPEC COMREF