A conditional I'm using to break out of a loop is as follows.
How would I change it to wait for non-ASCII keystrokes, like Esc?Code:if(InRec.Event.KeyEvent.uChar.AsciiChar == 'x') { break; }
A conditional I'm using to break out of a loop is as follows.
How would I change it to wait for non-ASCII keystrokes, like Esc?Code:if(InRec.Event.KeyEvent.uChar.AsciiChar == 'x') { break; }
Check out all my dimensions:
Height, width, and for a limited time only... Depth!
-sb
To tell the truth, I made this a long time ago *sigh*. I do not remember well how, but if you want a pointer search for the inportb function.
It accepts a integer , that is what you want to ¨listen¨ to.
Nothing more to tell about me...
Happy day =)
Whoa. I'm not sure what you're talking about on that one. I'm pretty sure this method will handle it, I'm just not sure how to modify it to do so.
Check out all my dimensions:
Height, width, and for a limited time only... Depth!
-sb
Replace 'x' with 0x1b, the ASCII value of ESC.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Shweet. Thanks.
P.S. I learned this method from your tutorial in the first place, so thanks again.
Check out all my dimensions:
Height, width, and for a limited time only... Depth!
-sb