Forum Discussion

d_jeziorski's avatar
d_jeziorski
New Contributor
15 years ago
Solved

Ord function in delphi script (TC 6.52)

Hello, I have a question. Does any one have script that would convert ascii code into a character. It's the function which is opposite to the chr() function    -- Dominik
  • AlexanderM's avatar
    15 years ago
    Hi Dominik,




    Try using the Ord function:




    [DelphiScript]




    ...

        Log.Message(Ord('A'));

        Log.Message(Ord('&')); 

    ...