Logical Operators

From ElectronicWar

Jump to: navigation, search
This Article is Incomplete
This article is apparently incomplete. You can help the ElectronicWar wiki by expanding it



Logical operators compare two different true or false values, and return a new true or false value.

[edit] Logical operators in HackScript

Operator Name Usage
== Equal A == B is true when A and B are equal.
 != Not Equal A != B is true when A and B are not equal.
< Less Than A < B is true when A is less than B.
<= Less Than Or Equals A <= B is true when A is less than or equal to B.
> Greater Than A > B is true when A is greater than B.
>= Greater Than A >= B is true when A is greater than or equal to B.
&& And A && B is true when both A and B are true.
|| Or A || B is true when either A or B is true.
Personal tools