2008年5月2日 星期五

ASCII CODE碼

判斷使用者Keyin資料會用到 (以VB程式為例 Keypress鍵盤按下去會觸發keypress事件)
Private Sub Loginsw_keypress(keyascii As integer)
If keyascii = 13 then '判斷使用者按下Enter鍵時,去呼叫CmdConfirm_Click事件
Call CmdConfirm_click
end if
end sub

10進制..16進制..... (16進位 A表示數字10,B表示數字11....F表示數字15)
07......07.....BEL讓電腦發出嗶一聲Bell(BEEP)
10......0A.....LF歸位......Line Feed
13......0D.....CR換行......Carriage Return
32......20.....空白........Space
33......21.....驚嘆號!.....Exclamation Mark
34......22.....雙引號".....Quotation Mark
35......23.....井號#.......Number Sign
36......24.....錢號$.......Dollar Sign
37......25.....百分比號%...Percent Sign
38......26.....And符號&....Ampersand
39......27.....省略號'.....Apostrophe
40......28.....左小括號(...Left Parenthesis
41......29.....右小括號)...Right parenthesis
42......2A.....星號*.......Asterisk
43......2B.....加號+.......Plus Sign
44......2C.....逗號,.......Comma
45......2D.....減號-.......Hyphen, Minus Sign
46......2E.....句號.......Period, Full Stop
47......2F.....斜線/.......Solidus,Slash
48......30.....數字0
49......31.....數字1
50......32.....數字2
51......33.....數字3
52......34.....數字4
53......35.....數字5
54......36.....數字6
55......37.....數字7
56......38.....數字8
57......39.....數字9
58......3A.....冒號:.......Colon
59......3B.....分號;.......Semicolon
60......3C.....小於<.......Less Than Sign 61......3D.....等號=.......Equal Sign 62......3E.....大於>.......Greater than
63......3F.....問號?.......Question Mark
64......40.....at符號@.....commercial at sign

65......41.....大寫英文字母A
|......|......|
90......5A.....大寫英文字母Z

97......61.....小寫英文字母a
|......|......|
122.....7A.....小寫英文字母z

Wiki詳細資料

其它相關URL編碼查詢