![]() |
![]() |
#1 |
Registered User
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 621
|
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. |
![]() |
![]() |
#2 |
Registered User
![]() Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,082
|
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.
|
![]() |
![]() |
#3 |
Registered User
![]() Join Date: Oct 2021
Location: England
Posts: 804
|
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to check if Xfire is NOT pressed | Brick Nash | Coders. AMOS | 6 | 22 July 2020 10:27 |
Amiga 4000 Right mouse Button always pressed | esel | support.Hardware | 3 | 13 June 2019 02:12 |
Alfa Data trackball cursor won't move if button is pressed? | fubsan | support.Hardware | 4 | 25 July 2015 10:33 |
Launch asl requester when button is pressed | tolkien | Coders. System | 0 | 14 July 2015 13:36 |
WinUAE x64 2.2 & 2.3 closing when "Add HardDrive" button is pressed | Thom87 | support.WinUAE | 4 | 26 September 2010 16:37 |
|
|