TIP: Click on subject to list as thread! ANSI
echo: cis.hot_topics
to: Kevin Darling (UG Pres) 76703,4227 (X)
from: Mike Guzzi 76576,2715
date: 1990-07-19 11:27:18
subject: #5209-#Is Basic out of date?

#: 5357 S15/Hot Topics
    19-Jul-90  11:27:18
Sb: #5209-#Is Basic out of date?
Fm: Mike Guzzi 76576,2715
To: Kevin Darling (UG Pres) 76703,4227 (X)

~ Yes finally figured out inkey on Basic09/68000 it is NOT like the basic09's
inkey on the CoCo. what inkey does on the 68000 is to tell you how many keys
are pending (how many characters in the buffer) so if you wanted to simulate
the inkey function do this:

Procedure GetKey

PARAM path:BYTE PARAM char:string[1]

dim i:integer

i:=sNKEY(#path)

if i>0 then get #path,C endif

end

all this does is if there is any characters pending it will grab one. if nomne
are present the read call (get command) is ignored.

Hope this helps!

Mike



There is 1 Reply.

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™.