将字符串转化为数字的方法:DIM I AS LONG I=ASC("a");将ASCII转化为字符串的方法:DIM I AS STRINGI=char(97)。
$ pythonPython 2.7.3 (default, Jan 2 2013, 16:53:07) [GCC 4.7.2] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> print chr(65)
$ pythonPython 2.7.3 (default, Jan 2 2013, 16:53:07) [GCC 4.7.2] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> print chr(65)A>>>
如果,a=65,chr(a)就是字符了