Ord: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Ord
| Old | New | Line | |
|---|---|---|---|
| 1 | + | The language construct `ord(someVariable)` evaluates to the index of any ordinal type, including, but not limited to any [[Integer|integer]] type and [[subrange types|sub-ranges]] thereof, [[Char|char]], [[Boolean|boolean]], or any [[Enum Type|enumerative type]]. | |
| 2 | + | ||
| 3 | + | ## see also | |
| 4 | + | ||
| 5 | + | - [`ord`](https://www.freepascal.org/docs-html/rtl/system/ord.html) documented in the [[System unit|system unit]] | |
| 6 | + | - [[Chr|chr]] returns a character by its index | |
| 7 | + | ||
| 8 | + | --- | |
| 9 | + | *From the Free Pascal wiki, page "Ord", as it stood on 2023-10-17 after a change by FPC user, 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).* |
