User Guide
Page 456
Use getKey inside loops to the key code diagram below. Program Output Note and Í were pressed during execution to break the program. getKey getKey returns a number corresponding to the last key pressed, according to transfer control, for example, when creating video games. Chapter 16: Programming 453 Note: You can press É at any time during program execution. If no key has been pressed, getKey returns 0.
Use getKey inside loops to the key code diagram below. Program Output Note and Í were pressed during execution to break the program. getKey getKey returns a number corresponding to the last key pressed, according to transfer control, for example, when creating video games. Chapter 16: Programming 453 Note: You can press É at any time during program execution. If no key has been pressed, getKey returns 0.