|
Navigation: Function Reference > General Utility Functions > ord() ord() |
Top Previous Next |
ord( source: char ) : Integer;
Returns an integer value for any ordinal type.
Parameters
source |
ordinal data type |
var c: char;
var i: integer;
c := 'C';
i := ord( c );
//i is now equal to 67;