Keyboard input/Keypress check: Difference between revisions
m
Use inputReady instead of the deprecated function keypress
m (→{{header|Wren}}: Changed to Wren S/H) |
m (Use inputReady instead of the deprecated function keypress) |
||
Line 1,444:
The library [http://seed7.sourceforge.net/libraries/keybd.htm keybd.s7i] defines
the file [http://seed7.sourceforge.net/libraries/keybd.htm#KEYBOARD KEYBOARD] and
the function [http://seed7.sourceforge.net/libraries/keybd.htm#
which can be used to determine if a key has been pressed.
<syntaxhighlight lang="seed7">if
writeln("A key was pressed");
else
|