POSITION:028,114
COLOUR:STANDARD
TEXT:00,You will notice that wait_key() is an example of a library routine that
TEXT:16,is externally defined in an include file, called get.e. get.e must be
TEXT:16,present at the top of your program in order to use this library routine.
TEXT:32,If a key generating a displayable character (alphabet, numbers, symbols,
TEXT:16,and punctuation) or cursor control (tab, linefeed, backspace, etc) is
TEXT:16,pressed, the value stored in the receiving integer value is the ASCII
TEXT:16,code for that value. This means you can use puts() or print() to display
TEXT:16,the value on the screen as a text character, or move the cursor.
TEXT:16,Keys like the function keys from F1 through F12, arrow keys, insert and
TEXT:16,delete keys, and any key pressed while the ALT key is pressed down
TEXT:16,generate a value higher than 255. These keys are meant to be defined
TEXT:16,for the use of the programmer and do not generate a displayable screen
TEXT:16,character.
TEXT:32,A demo program showing how wait_key() is used is available on this page.
