Keyboard input/Keypress check: Difference between revisions

Content added Content deleted
(Added Robotic implementation to Keyboard input/Keypress check)
(added MiniScript example)
Line 899: Line 899:
System.Console receiveChar ->aChar // Wait until a character is pressed. All other keys are ignored
System.Console receiveChar ->aChar // Wait until a character is pressed. All other keys are ignored
System.Console receiveTimeout(0) ->key // Check if a key is pressed and return immediatly</lang>
System.Console receiveTimeout(0) ->key // Check if a key is pressed and return immediatly</lang>

=={{header|MiniScript}}==
{{works with|Mini Micro}}
<lang MiniScript>x = key.available</lang>


=={{header|Perl}}==
=={{header|Perl}}==