Question

  Asked: Sep 10 2005   4:14 AM GMT
  Asked by: mmm555


a delphi prob


Delphi

hi all.
i am doing a delphi program about changing a text to an enigma text. but the problem i have is how to change a character to integer(in other way how to change a letter to ascii code in delphi ?).

thx.
Michel

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



You should use Google to find such answers. There are 1000's of pages on Delphi.

So you want to change 'x', for example into it's ASCII equivalent?

This is basic delphi/pascal.

Use Ord('A') = 65, to reverse it use Chr(65) = 'A'

http://www.delphibasics.co.uk/ is a good website for basic delphi. http://delphi.about.com/ is also has very interesting topics.

-Markus
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Development.

Looking for relevant Development Whitepapers? Visit the SearchSQLServer.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register