How to check a DEL button is pressed
Hello,
I am using AmiBlitz3. My code is like this retVAL$=Inkey$(1) where the key value is returned to variable retVAL$. How do I take this variable retVAL$ and use it to compare if a person pressed the ESC key? Thanks in advance. |
You can look at the ASCII code of retVAL$ using Asc(retVAL$). This will give you the ASCII character code for non-printable characters such as escape, arrow keys, backspace and so on.
|
|
All times are GMT +2. The time now is 16:50. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.