GetKey ()

Waits for the user to press a key and returns the key code. The key code is a special numeric value that Source Insight associates with each key. You can use the CharFromKey function to map a key code into a character.