Advertisement
MichaelPetch

getkey.bas

Aug 10th, 2020 (edited)
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. SUB GetKeyH INLINE
  2. $INLINE "getkeyh.com"
  3. END SUB
  4.  
  5. CLS
  6. DO
  7. LOCATE 10, 10
  8. Call GetKeyH (scancode%)
  9. PRINT "Key = "; HEX$(scancode%); " "
  10. LOOP UNTIL INKEY$ = CHR$(27)
  11.  
  12. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement