Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Chr$(135) and _Keyhit
#4
(Today, 07:59 AM)Pete Wrote: So I'm mostly just curious to learn why the different values for k& representing keys like Shift, Ctrl, and Alt (10034, 10036, 10038) respectively, all get converted to Chr$(0) + Chr$(135) with MKI$().

Thanks,

Pete

The simple answer here, I think, is overflow values.

INTEGER can only hold values up to 5 digits.   _KEYHIT returns 6-digit numbers.  You're going to overflow the bucket ya trying to cram yo numbers into, like that par'ner!
Reply


Messages In This Thread
Chr$(135) and _Keyhit - by Pete - Today, 07:59 AM
RE: Chr$(135) and _Keyhit - by SMcNeill - 5 hours ago



Users browsing this thread: 7 Guest(s)