ASC & CHR converter v1.0.vbs

Source: Internet
Author: User
'Filename: "ASC & CHR converter v1.0.vbs"
'Writer: t0nsha @ 071028 winxpsp2 passed the test!
'Email: tunhsiaatgmail.com
'Blog: http://blog.csdn.net/t0nsha/
On Error resume next
Function ASCII (ARG)
If (isnumeric (ARG) then
ASCII = CHR (ARG)
Else
ASCII = ASC (ARG)
End if
End Function
Do
Arg = inputbox ("Instructions for use:" & vbcrlf & "Enter the characters for the ASC code, enter the ASC code for the characters, and enter the numbers for the ASC code (for example: enter 97 for A, 97 for A, and 57 for ASC Code 9 for 9A). Only single character conversion is allowed. "," ASC & CHR converter V1.0 ")
If not isempty (ARG) Then msgbox (ARG & "is converted to:" & ASCII (ARG ))
Loop until isempty (ARG)

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.