Returns the ordinal value of an ordinal-type expression.
Unit
System
Category
ordinal routines
function Ord(X);
Description
X is an ordinal-type expression. The result is the ordinal position of X; its type is the smallest standard integer type that can hold all values of X's type.
Ord cannot operate on Int64 values.
----------------------------------------------
---- VCL