BlitzCoder Essentials
•
Home Page
•
About BlitzCoder
•
Contributors
•
Terms of Use
•
Email Us
Main Areas
•
BlitzCoder Chat
•
Discussions
•
Articles/Tutorials
•
Code Database
•
Link Database
•
Showcase Area
•
Worklogs
•
Competitions
Special Areas
•
Undocumented
Other Blitz Sites
•
Blitz Basic Home
•
Blitz Showcase
•
BlitzPlay Library
Forum Login
Username:
Password:
•
Register Now!
BlitzCoder Code Archives Page
Main Codes Page
"Retrieving the scancode of the currently pressed key"
, by sopisoft
This code simply retrieves the key-scancode of the key currently being pressed.
Code
SetBuffer BackBuffer() While Not KeyHit(1) For s=1 To 237 If KeyDown(s) Text 0,0,"Scancode For pressed key = "+s Exit EndIf Next Flip True Cls Wend End
Copyright(c) 2000-2004, BlitzCoder. All Rights Reserved.
Code software created by Krylar's Kreations