|
-
Jan 10th, 2000, 03:17 AM
#1
Thread Starter
Lively Member
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
-
Jan 10th, 2000, 03:21 AM
#2
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]
-
Jan 10th, 2000, 04:22 AM
#3
Thread Starter
Lively Member
Thanks. And is there a way of doing it the other way round?
-
Jan 10th, 2000, 04:39 AM
#4
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).]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|