20021201
k
Input
GetKey
Syntax:
GetKey
䡺
<variable name>
Function:
This command assigns the code number of the last key pressed to the specified
variable.
Description
• This command assigns the code number of the last key pressed to the specified variable.
The following shows a list of available code numbers.
12-6-3
Program Command Reference
Key
Code
0
48
1
49
2
50
3
51
4
52
5
53
6
54
7
55
8
56
9
57
.
46
e
147
+
43
-
45
*
60944
/
47
=
61
Key
Code
(
40
)
41
,
44
z
45
x
60856
y
60857
Z
60858
{
94
E
13
f
28
c
29
d
30
e
31
k
144
K
(Back Space)
8
o
145
c
12
• 0 is assigned to the variable if no key was pressed.