Base Scripting Language GuidePascal-Library Custom Scripting FunctionsOrdOn this pageOrdReturns the ordinal value of an ordinal-type expression. Structure Ord(X): Longint; Parameters Return value Description X is an ordinal-type or character-type expression. The result is of type Longint, and its value is the ordinal position of X.