Saving your work
Save as... to save the
empty template as
in your Computer Programming 12 directory.
Write a program that will:
- Trigger a function when a key is pressed
- Display the code of the key that was pressed
- Display the Unicode character of the key that was pressed
- Use an
if...elsestatement to trigger something if a certain key is pressed
Press any key ... as long as it is not tab!
You pressed character #
That is the same as ' '