Ord returns the ordinal value of an ordinal-type expression.
Example:
This example comes from "Oleg
Zavgorodnij's" Delphi tip called "How
can I get the MAC address of a network adapter?"
if uRetCode <> #0 then raise Exception.CreateFmt( sNetBIOSError,
[Ord(uRetCode)] );
for J := 0 to 5 do
Result[J] := Ord( Adapter.Adapt.Adapter_address[J] );
end;