InKey ( )

Returns the ASCII value of the key that was pressed.

Example: