TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: Bob Palmer 74646,2156
from: Colin J. Smith 73777,1360
date: 1992-02-02 17:04:48
subject: #14151-BASIC`s INKEY

#: 14159 S12/OS9/68000 (OSK)
    02-Feb-92  17:04:48
Sb: #14151-BASIC's INKEY
Fm: Colin J. Smith 73777,1360
To: Bob Palmer 74646,2156

The way INKEY works (at least on the MM/1's version of BASIC) is that it
returns a value if there is something in the keyboard buffer.  You then have to
use GET to find out what it is.

Does this help any?  It's completely different from BASIC-09.  You have to do
something like this:

a=inkey(#) if a then
   get response; endif

Hope this helps.

  --Colin

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.