Difference between revisions of "Ord"

From Lazarus wiki
Jump to navigationJump to search
(more accurate content)
(→‎see also: system.ord)
Line 4: Line 4:
  
 
== see also ==
 
== see also ==
 +
* {{Doc|package=RTL|unit=system|identifier=ord|text=<syntaxhighlight lang="pascal" enclose="none">ord</syntaxhighlight>}} documented in the [[System unit|system unit]]
 
* [[Chr|<syntaxhighlight lang="pascal" enclose="none">chr</syntaxhighlight>]] returns a character by its index
 
* [[Chr|<syntaxhighlight lang="pascal" enclose="none">chr</syntaxhighlight>]] returns a character by its index
  
 
[[Category:Pascal]]
 
[[Category:Pascal]]

Revision as of 15:00, 2 December 2018

Deutsch (de) English (en) français (fr) русский (ru)

The language construct ord(someVariable) evaluates to the index of any ordinal type, including, but not limited to any integer type and sub-ranges thereof, char, boolean, or any enumerative type.

see also