Wikipedia says:
Not equal
The symbol used to denote inequation — when items are not equal — is a slashed equals sign "≠" (Unicode 2260).
Most programming languages, limiting themselves to the ASCII character set, use ~=, !=, /=, =/=, or <> to represent their boolean inequality operator.
All of these operators can be found in this table, apart from =/=
. I can find this equals-slash-equals used as a way of formatting ≠ in plaintext but not in any programming language.
Has =/=
been used as the inequality operator in any programming language?
/=
in Haskell and just reading the meta description for this page told me what it was.=/=
may be the clearest on first viewing - and among the most annoying to type forever after. :) I vaguely recall some language that used#
, which is also not in the Wikipedia table, so I wouldn't assume the latter to be exhaustive.<>
, like the rest of the Pascal family, but also accepts#
.