function Ord(Value: Char): Integer
function Ord(Value: Boolean): Integer
The Ord function returns the Unicode code point for a Char input parameter, 0 for a False Boolean input parameter, and 1 for a True Boolean input parameter. The return value is an Integer.
Examples
X := Ord('Ü'); // X is 220
X := Ord(True); // X is 1