k Input/Output Commands (I/O)
Getkey
Function: This command returns the code that corresponds to the last key pressed.
Syntax: Getkey
Description:
• This command returns the code that corresponds to the last key pressed.
• A value of zero is returned if no key was pressed previous to executing this command.
• This command can be used inside of a loop.
8-5-15
Command Reference
79
69
59
49
39
78
68
58
48
38
77
67
57
47
76
66
56
46
36
75
65
55
45
35
74
64
54
44
73
63
53
43
72
62
52
42
71
61
51
41
20050401
29
28
27
37
26
25
33
32
31