Syntax
GETKEY
Description
Returns the ID of the first key in the keyboard buffer, or -1 if no key was pressed since the last call to GETKEY. Key IDs are integers from 0 to 50, numbered from top left (key 0) to bottom right (key 50).
0= Apps
1= Symb
2= Up
3= Help
4= Esc
5= Home
6= Plot
7= Left
8= Right
9= View
10= Cas
11= Num
12= Down
13= Menu
After that, the keys are number from top left (14= Vars) to bottom right (50= +)
GETKEY — Discussion