execution, awaiting a keypress, and stores the key in the specified
variable. Note some special values: 1 for the Up cursor key; 2 for Down; 3 for Left;
4 for Right; 13 for Enter; 27 for Esc.</p>

<pre>
waitkey x
if x = 'm' then print "m was pressed"
if x = 4 then print "You hit the Right cursor key"
</pre>




<br />

<hr noshade="noshade" />


<h2>Samples</h2>

<a name="hexdumper"></a>
<h3>Hex dumper</h3>

<p>Asks for a filename, loads the file data into the start of empty RAM, then loops over it, printin