7 while (!isKeyPressed('q')) {
9 if (isKeyPressed('a')) {
11 speak("This is abuse!!!!!!",0);
13 speak("This is a key press!",0);
17 speak("This is a key down!",SPEAK_INTERRUPTING
);
19 speak("I'm speaking!",SPEAK_BLOCKING
);
20 if (isKeyPressed('s'))
22 speak("yes, you moron!",SPEAK_INTERRUPTING
);
25 terminateEnvironment();