Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alternative to INKEY$
#11
Scan codes are byte values.
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply
#12
Since I never ever found one, the first asm programming I did was to make an InputLib...bog-standard mouse and keyboard routines. I have no idea where they are. Not on my comp.

Try:
http://aetherfox.port5.com
http://aetherfox.distanthost.com

I KNOW its on the first, but whether that still works is beyond me.

It's crappy, but it works well. It's got documentation.

INP(&H60) is used with keyboard scancodes, not ascii. They are 4 digits long, I made a prog that displays them, but I think its in the QB Help. If not, somebody with half an ass should have put it up on the faq's wiki thing. I'm apparantly not good enuf (Wink) to get the password to that, so I can't do it if its not there.
·~¹'°¨°'¹i|¡~æthérFòx~¡|i¹'°¨°'¹~·-
avinash.vora - http://www.avinashv.net
Reply
#13
triple post?
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#14
holy shit, i don't know why that happened. is it too late to delete them now...?

hmmm...I only submitted once, maybe my comp went crazy and read it as three mouse clicks...but there is a phpBB function that gives a time to wait for the next post...happened once in devart...
·~¹'°¨°'¹i|¡~æthérFòx~¡|i¹'°¨°'¹~·-
avinash.vora - http://www.avinashv.net
Reply
#15
byte values?

i thought they were 4 digits long...like the arrow keys for example...i havent used them in like 1 year, i can't remember...i
·~¹'°¨°'¹i|¡~æthérFòx~¡|i¹'°¨°'¹~·-
avinash.vora - http://www.avinashv.net
Reply
#16
values too. INKEY$ returns a *2* byte result when an arrow key is pressed. One of them is the scan code and the other one is the ascii value (which is 0).

And I think you can delete messages at any time.
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)