Not equal: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Not equal
| Old | New | Line | |
|---|---|---|---|
| 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 | + | ||
| 3 | + | \<\> | |
| 4 | + | ||
| 5 | + | </div> | |
| 6 | + | ||
| 7 | + | The not equal bigramm `<>` (consisting of [[Less than|<, the less than symbol]], followed by [[Greater than|>, 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. | |
| 8 | + | ||
| 9 | + | ## implicit definition | |
| 10 | + | ||
| 11 | + | Note, 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)`. | |
| 12 | + | ||
| 13 | + | ## see also | |
| 14 | + | ||
| 15 | + | - [[symmetric difference|symmetric difference of sets ><]] | |
| 16 | + | ||
| 17 | + | --- | |
| 18 | + | *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).* | |
| 19 | + | Category: Symbols |
