Hey, don't thank me, it was already that way when I came in!
Now seriously, all printable ASCII are *&H20* (32 dec, corresponds to the
*SPACE*) to *&H7E* (126, corresponds to the tilde "*~*"), *&H7F* being
non-printable ASCII *DEL*.
All 7-bit codes below *&H20* (space) and above *&H7E* are non-p
Thank you! That makes sense! I was looking for a way to determine that a
printable character key was pressed. Any suggestions?
--
___
Gambas-user mailing list
Gambas-user@list
Ctrl is actually a modifier key. It just lowers (resets, or sets to zero) bit 6
(bit weight is 64 decimal) of the character it modifies.
For example, ASCII code 7 is BEL. It's represented by Ctrl-G. The ASCII code of
G is 71. 71 - 64 = 7.
If you look for the ASCII code of W (87) and subtract 6
If I hit Ctrl+W on the keyboard, 'Debug Key.Text' prints '^W'. If I do
'Debug String.Len(Key.Text)' this prints 1... I understand that ^
represents Ctrl, but it is still a character?? Why is it not counted?
--