do until a$ < > ""
a$ = inkey$
if a$ = chr$(13) then end
loop
What that just did was tell the computer that if the user presses enter, then end the program. You find the number in parentheses on an ascii character chart, or by downloading this very useful program.
This can be a very useful command for event trapping difficult keys like enter, escape, ctrl, etc.
You are the
visitor to this page.
Email: cybertron@flashmail.com