#: 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.
|