AutoIt has the following assignment, mathematical, comparison, conditional and logical operators.
Operator | Description |
---|---|
= | Assignment |
Not | Logical Not |
^ | Exponentiation |
* / | Mathematical |
+ - | Mathematical |
& | Concatenation |
< > <= >= = <> == | Comparison |
? | Conditional (Ternary operator) |
And Or | Logical |
When more than one operator is used in an expression the order in which things happen is controlled by operator precedence. Where two operators have the same precedence the expression is evaluated left to right.