Sign in Join
Wiki copytemporary

Not equal: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
1-<div style="float:left; margin: 0 20px 10px 0; padding:40px; font-size:500%; font-family: Georgia; background-color: #f9f9f9; border: 2px solid #777777;">
2-
31\<\>
4-
5-</div>
62
73The not equal bigramm `<>` (consisting of [[Less than|&lt;, the less than symbol]], followed by [[Greater than|&gt;, the greater than symbol]]) is used to compare two values. The binary operator evaluates to [[false and true|true]], if both values differ from each other.
84
95## implicit definition
106
117Note, when the [[Equal|equal operator]] has been overloaded for a custom type, but unequal does not have its own (explicit) definition, [[FPC]] will assume `x <> y` is the same as `not (x = y)`.
128
139## see also
1410
1511- [[symmetric difference|symmetric difference of sets &gt;&lt;]]
1612
1713---
1814*From the Free Pascal wiki, page "Not equal", as it stood on 2022-08-06 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
1915Category: Symbols

Back to history