Request: backspace escape character

BlitzMax Forums/BlitzMax Programming/Request: backspace escape character

rdodson41(Posted 2006) [#1]
I think it would be helpful to add a "~b" escape character to represent a backspace. Then Asc("~b") can be used among other things. Could this be added into the next BlitzMax version?


CS_TBL(Posted 2006) [#2]
* fails to see why, but .. I'm open to all explanations!


rdodson41(Posted 2006) [#3]
When detecting the key press of a backspace in a EVENT_KEYCHAR, you need the ascii value, so Asc("~b") would be great, but I have to use 8.


Mordax_Praetorian(Posted 2006) [#4]
Why not just use KeyHit?

If KeyHit(Key_Backspace)