Reply to Re: wait_for__lbuttom
If you don't have an account, just leave the password field blank.
How about this script:
That's right, no loop, no if, nothing. The point of wait_for_button() is that it waits until a button has been pressed. If you don't see "ass" with a button value after pressing D, that means the engine doesn't think a button has been pressed. If that's the case, then I guess the answer is "because apparently the engine doesn't work that way". If you *do* see "ass" with a button value. Well. Then you now know what value to check for if you press D
void main( void ) { freeze(1); wait_for_button(); say("ass, button &result",1); unfreeze(1); }
That's right, no loop, no if, nothing. The point of wait_for_button() is that it waits until a button has been pressed. If you don't see "ass" with a button value after pressing D, that means the engine doesn't think a button has been pressed. If that's the case, then I guess the answer is "because apparently the engine doesn't work that way". If you *do* see "ass" with a button value. Well. Then you now know what value to check for if you press D
