Difference between revisions of "Key.clear"

From MiniScript Wiki
Jump to navigation Jump to search
(Created page with "<c>key.clear</c> clears the keyboard input buffer. This is often used before exiting a game, so that any key presses made during the game don't spill out into the command lin...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<c>key.clear</c> clears the keyboard input buffer.  This is often used before exiting a game, so that any key presses made during the game don't spill out
+
<c>[[key]].clear</c> clears the keyboard input buffer.  This is often used before exiting a game, so that any key presses made during the game don't spill out
 
into the command line.
 
into the command line.
  
Line 8: Line 8:
 
<ms>key.clear</ms>
 
<ms>key.clear</ms>
  
[[Category:Intrinsic Functions]]
+
[[Category:Mini Micro]]

Latest revision as of 19:59, 24 March 2020

key.clear clears the keyboard input buffer. This is often used before exiting a game, so that any key presses made during the game don't spill out into the command line.

See also: key.available; key.get

Example

key.clear