Dokey = WaitKey()Select Case keyCase 112KeyPress "1", 1KeyPress "2", 1KeyPress "3", 1Case 113KeyPress "4", 1KeyPress "5", 1KeyPress "6", 1Case 114KeyPress "7", 1KeyPress "8", 1KeyPress "9", 1End Selectloop