Anonymous user
Keyboard input/Keypress check: Difference between revisions
no edit summary
(→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details) |
No edit summary |
||
Line 225:
<pre>
The key pressed was A (ascii 65)
</pre>
=={{header|Gambas}}==
<lang gambas>Public Sub Form_KeyPress()
'Requires a TextBox or similar on the Form to work
Print Key.Text;
End</lang>
Output:
<pre>
Hello world!
</pre>
|