Skip to main content
2 of 2
I clarified what I meant by the usage of each operator
Liam
  • 189
  • 8

Why is there both logical operators <> and !=?

The are two operators '<>' and '!=' used in programming languages with the same general meaning.

'<>' can be used in PHP, SQL, and Pascal.

'!=' seems to be more commonly used.

What is the original reason for both of these operators to co-exist, when they seem to be so similar in purpose? What was the first language to support both?

Liam
  • 189
  • 8