Is there anyway that I can get VB to convert ASCII numbers to single character strings and back again? I need it for doing v. basic encryption of high scores.
Thanks
Printable View
Is there anyway that I can get VB to convert ASCII numbers to single character strings and back again? I need it for doing v. basic encryption of high scores.
Thanks
You can convert an ASCII value to a Character using the Chr() Function, ie.
Chr(65) would be A
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Thanks. And is there a way of doing it the other way round?
That would be the Asc() Function, ie.
Asc("A") would return 65
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
[This message has been edited by Aaron Young (edited 01-10-2000).]