Leli196 wrote:Well, it probably means something like less than or greater than , that makes sense to me. However, this may be somehow reasonable when used with numbers; but when it comes to strings less than or greater than is rather stupid.
But there's no "or" symbol in there
To me (and clearly others), it simply reads as "less than greater than", which would essentially be equivalent to <= (less than or equal to), as "greater than" includes all numbers above the number in question, so if we're looking for anything LESS than that, it would be that number or anything less. Considering integers, for example,
consider x <> 5
breaking that down, >5 means 6, 7, 8, 9 etc.
therefore <(>5) would be < 6, 7, 8, 9 etc.,
which simplifies to < 6
i.e. 5, 4, 3, etc.
i.e. <= 5
And yes, when it comes to non-numeric variables, it makes zero sense at all.
In short, I agree with those who said this symbol doesn't make sense
and naturally I prefer !=
, which I was familiar with from other languages when I started AHK, and seems more intuitive.