Reference Guide

J
ASCII Character Codes and Translations J-1
J. ASCII Character Codes and Translations
The following table shows the relation between character codes (results of NUM, arguments to CHR) and
characters (results of CHR, arguments to NUM) for the lower half of the character set.
Character Codes (0-127)
Code
Description
0 ā
null
1 ā
start of heading
2 ā
start of text
3 ā
end of text
4 ā
end of transmission
5 ā
enquiry
6 ā
acknowledge
7 ā
bell
8 ā
backspace
9 ā
tab
10
linefeed
11 ā
vertical tab
12 ā
form feed
13 ā
carriage return
14 ā
shift out
15 ā
shift in
16 ā
device escape
17 ā
device control 1
18 ā
device control 2
19 ā
device control 3
20 ā
device control 4
21 ā
neg. acknowledge
22 ā
synchronous idle
23 ā
end trans. block
24 ā
cancel
25 ā
end of medium
26 ā
substitute
27 ā
escape
28
cursor (insert)
29
cursor (overtype)
30
ellipsis (left)
31
ellipsis (right)
32
space
33 !
exclamation mark
34 "
quotation
35 #
number
36 $
dollars
37 %
percent
38 &
ampersand
39 '
apostrophe
40 (
left parenthesis
41 )
right parenthesis
42 *
asterisk
Code
Description
43 +
plus
44 ,
comma
45 -
hyphen
46 .
period
47 /
forward slash
48 0
0
49 1
1
50 2
2
51 3
3
52 4
4
53 5
5
54 6
6
55 7
7
56 8
8
57 9
9
58 :
colon
59 ;
semicolon
60 <
less than
61 =
equal to
62 >
greater than
63 ?
question mark
64 @
at sign
65 A
A
66 B
B
67 C
C
68 D
D
69 E
E
70 F
F
71 G
G
72 H
H
73 I
I
74 J
J
75 K
K
76 L
L
77 M
M
78 N
N
79 O
O
80 P
P
81 Q
Q
82 R
R
83 S
S
84 T
T
85 U
U
Code
Description
86 V
V
87 W
W
88 X
X
89 Y
Y
90 Z
Z
91 [
left bracket
92 \
backslash
93 ]
right bracket
94 ^
caret
95 _
underscore
96 `
grave accent
97 a
a
98 b
b
99 c
c
100
d
d
101
e
e
102
f
f
103
g
g
104
h
h
105
i
i
106
j
j
107
k
k
108
l
l
109
m
m
110
n
n
111
o
o
112
p
p
113
q
q
114
r
r
115
s
s
116
t
t
117
u
u
118
v
v
119
w
w
120
x
x
121
y
y
122
z
z
123
{
left brace
124
|
pipe
125
}
right brace
126
~
tilde
127
shaded box