To give a few more details: inkey reads the keyboard input and writes it into a string, thus you first need a string for your user input. Then create a text object to display that string. When the user is supposed to enter something: 1. switch the text visible (you might want to clear the string also) 2. call inkey with the string as parameter 3. handle the abort values (explained in the manual) of the inkey function to process the string further or to get on with the application