chr(32)是空格;
chr(8、9、10 和 13)可以分别转换为退格符、制表符、换行符和回车符。
ASCII码对照查询
00000000000NUL(null)空字符
00000001101SOH (start ofhanding)标题开始
00000010202STX (start oftext)正文开始
00000011303ETX (end oftext)正文结束
00000100404EOT (end oftransmission)传输结束
00000101505ENQ(enquiry)请求
00000110606ACK(acknowledge)收到通知
00000111707BEL(bell)响铃
00001000808BS(backspace)退格
00001001909HT (horizontaltab)水平制表符
00001010100ALF (NL line feed, newline)换行键
00001011110BVT (verticaltab)垂直制表符
00001100120CFF (NP form feed, newpage)换页键
00001101130DCR (carriagereturn)回车键
00001110140ESO (shiftout)不用切换
00001111150FSI (shiftin)启用切换
000100001610DLE (data linkescape)数据链路转义
000100011711DC1 (device control1)设备控制1
000100101812DC2 (device control2)设备控制2
000100111913DC3 (device control3)设备控制3
000101002014DC4 (device control4)设备控制4
000101012115NAK (negativeacknowledge)拒绝接收
000101102216SYN (synchronousidle)同步空闲
000101112317ETB (end of trans.block)传输块结束
000110002418CAN(cancel)取消
000110012519EM (end ofmedium)介质中断
00011010261ASUB(substitute)替补
00011011271BESC(escape)溢出
00011100281CFS (fileseparator)文件分割符
00011101291DGS (groupseparator)分组符
00011110301ERS (recordseparator)记录分离符
00011111311FUS (unitseparator)单元分隔符
001000003220空格
001000013321!
001000103422"
001000113523#
001001003624$
001001013725%
001001103826&
001001113927'
001010004028(
001010014129)
00101010422A*
00101011432B+
00101100442C,
00101101452D-
00101110462E.
00101111472F/
0011000048300
0011000149311
0011001050322
0011001151333
0011010052344
0011010153355
0011011054366
0011011155377
0011100056388
0011100157399
00111010583A:
00111011593B;
00111100603C<
00111101613D=
00111110623E>
00111111633F?
010000006440@
010000016541A
010000106642B
010000116743C
010001006844D
010001016945E
010001107046F
010001117147G
010010007248H
010010017349I
01001010744AJ
01001011754BK
01001100764CL
01001101774DM
01001110784EN
01001111794FO
010100008050P
010100018151Q
010100108252R
010100118353S
010101008454T
010101018555U
010101108656V
010101118757W
010110008858X
010110018959Y
01011010905AZ
01011011915B[
01011100925C
01011101935D]
01011110945E^
01011111955F_
011000009660`
011000019761a
011000109862b
011000119963c
0110010010064d
0110010110165e
0110011010266f
0110011110367g
0110100010468h
0110100110569i
011010101066Aj
011010111076Bk
011011001086Cl
011011011096Dm
011011101106En
011011111116Fo
0111000011270p
0111000111371q
0111001011472r
0111001111573s
0111010011674t
0111010111775u
0111011011876v
0111011111977w
0111100012078x
0111100112179y
011110101227Az
011110111237B{
011111001247C|
011111011257D}
011111101267E~
011111111277FDEL(delete)删除
ESC键VK_ESCAPE (27)
回车键:VK_RETURN (13)
TAB键:VK_TAB (9)
Caps Lock键: VK_CAPITAL (20)
Shift键:VK_SHIFT ()
Ctrl键:VK_CONTROL (17)
Alt键:VK_MENU (18)
空格键: VK_SPACE (/32)
退格键: VK_BACK (8)
左徽标键: VK_LWIN (91)
右徽标键: VK_LWIN(92)
鼠标右键快捷键:VK_APPS (93)
Insert键: VK_INSERT (45)
Home键: VK_HOME (36)
Page Up: VK_PRIOR (33)
PageDown: VK_NEXT (34)
End键:VK_END (35)
Delete键:VK_DELETE (46)
方向键(←):VK_LEFT (37)
方向键(↑): VK_UP(38)
方向键(→):VK_RIGHT (39)
方向键(↓):VK_DOWN (40)
F1键:VK_F1 (112)
F2键:VK_F2 (113)
F3键:VK_F3 (114)
F4键:VK_F4 (115)
F5键:VK_F5 (116)
F6键:VK_F6 (117)
F7键:VK_F7 (118)
F8键:VK_F8 (119)
F9键:VK_F9 (120)
F10键:VK_F10 (121)
F11键:VK_F11 (122)
F12键:VK_F12 (123)
Num Lock键: VK_NUMLOCK (144)
小键盘0:VK_NUMPAD0 (96)
小键盘1:VK_NUMPAD0 (97)
小键盘2:VK_NUMPAD0 (98)
小键盘3:VK_NUMPAD0 (99)
小键盘4:VK_NUMPAD0 (100)
小键盘5:VK_NUMPAD0 (101)
小键盘6:VK_NUMPAD0 (102)
小键盘7:VK_NUMPAD0 (103)
小键盘8:VK_NUMPAD0 (104)
小键盘9:VK_NUMPAD0 (105)
小键盘.:VK_DECIMAL (110)
小键盘*:VK_MULTIPLY (106)
小键盘+:VK_MULTIPLY (107)
小键盘-:VK_SUBTRACT (109)
小键盘/:VK_DIVIDE (111)
Pause Break键: VK_PAUSE (19)
Scroll Lock键: VK_SCROLL (145)