TIB: RE:GETKEY PROG


[Prev][Next][Index][Thread]

TIB: RE:GETKEY PROG




    Heres an even easier method i came up with.  If the getkey command dosnt 
recive a keypress then it returns a default zero, and all the keys have a 
value greater than zero so you can do this program instead. it basically does 
the same thing but its a bit less confusing.

ClrHome
0->K
Disp "PRESS A KEY"
Repeat K>0
getkey->K
End
ClrHome
Disp "GETKEY VALUE="
Disp K

Hope that helps if you dont have a manual.
    ~Eric